Quote:
Originally Posted by abdobiskra
Hi, what about :
PHP Code:
if(cs_get_user_team(id) == CS_TEAM_SPECTATOR)
set_task(31.1, "removeweapons", id + 100000)
then :
PHP Code:
public function_check(id)
{
if(task_exists(id + 100000))
{
client_print(id, print_chat,"Your Task is running!!");
remove_task(id + 100000);
return PLUGIN_HANDLED;
}
else
{
client_print(id, print_chat,"Your Task is not running!!");
return PLUGIN_HANDLED;
}
return PLUGIN_HANDLED;
}
|
i dont know exactly how it working can you send me any sma (here php) with this code included to check it?
or can u show me example?
__________________