Кто-нибудь сможет сказать о чем тут говорится http://forums.alliedmods.net/showthread.php?p=664848, хочу знать что значит
Make a start timer:
create a "func_button", set the name to "climb_startbutton".
Make a end timer:
create a "func_button", set the name to "climb_endbutton".
when client press start button, it call "CL_OnStartTimerPress".
when client press end button, it call "CL_OnEndTimerPress".
и код ниже
/**
* Called when a player press start timer.
* @param client Client index.
*/
forward CL_OnTimerStartPress(client);
/**
* Called when a player press end timer.
* @param client Client index.
*/
forward CL_OnEndTimerPress(client);
Make a start timer:
create a "func_button", set the name to "climb_startbutton".
Make a end timer:
create a "func_button", set the name to "climb_endbutton".
when client press start button, it call "CL_OnStartTimerPress".
when client press end button, it call "CL_OnEndTimerPress".
и код ниже
/**
* Called when a player press start timer.
* @param client Client index.
*/
forward CL_OnTimerStartPress(client);
/**
* Called when a player press end timer.
* @param client Client index.
*/
forward CL_OnEndTimerPress(client);