Raised This Month: $32 Target: $400
 8% 

para que sirven estos 2 forward :D


  
 
 
Thread Tools Display Modes
Author Message
Movie City
Senior Member
Join Date: Sep 2012
Location: hns_floppytown
Old 04-08-2013 , 10:17   para que sirven estos 2 forward :D
#1

PHP Code:
register_forward(FM_PlayerPreThink"fw_PlayerPreThink")
    
register_forward(FM_PlayerPreThink"fw_PlayerPreThink_Post"1
Movie City is offline
YakumoHiratsuhi
Veteran Member
Join Date: Dec 2010
Location: Dreαmlαnd.
Old 04-08-2013 , 14:29   Re: para que sirven estos 2 forward :D
#2

Los 2 hacen la misma función, esta función es ejecuta según los FPS que tenga el jugador (69 FPS -> 69 veces/segundo).

1. Esta en modo pre, esto significa que se ejecuta ANTES de ejecutar la acción en el motor.
2. Esta en modo post, esto significa que se ejecuta DESPUÉS de ejecutar la acción en el motor.

Con peritas y manzanas:
FM_PlayerPrethink(PRE) -> FM_PlayerPrethink -> FM_PlayerPrethink(POST)
__________________
"Podra parecer ridiculo o imposible, pero este es el camino que seguimos los verdaderos hombres, si hay un muro en el camino, lo derribamos, si no hay camino, haremos uno, con nuestras propias manos, porque el magma de nuestro corazón arde en llamas."

Last edited by YakumoHiratsuhi; 04-08-2013 at 20:27.
YakumoHiratsuhi is offline
Send a message via MSN to YakumoHiratsuhi
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 04-08-2013 , 15:57   Re: para que sirven estos 2 forward :D
#3

y te faltó añadir que se ejecuta muchas veces en 1 segundo
baneado is offline
Fuck_You
Senior Member
Join Date: Dec 2011
Location: return city[id];
Old 04-08-2013 , 17:49   Re: para que sirven estos 2 forward :D
#4

pone un client_print(0, print_chat, "Hola") e.e y veras que pasa
__________________

Last edited by Fuck_You; 04-08-2013 at 17:49.
Fuck_You is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 04-08-2013 , 18:40   Re: para que sirven estos 2 forward :D
#5

Quote:
Originally Posted by baneado View Post
y te faltó añadir que se ejecuta muchas veces en 1 segundo
Quote:
Originally Posted by YakumoHiratsuhi View Post
Los 2 hacen la misma función, esta función es ejecuta según los FPS que tenga el jugador.
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode