Raised This Month: $ Target: $400
 0% 

[Help] with task and plaer enter world


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
zippel
Member
Join Date: Mar 2011
Location: RF
Old 04-30-2011 , 17:00   [Help] with task and plaer enter world
Reply With Quote #1

Quote:
public client_putinserver(id)
{
if(is_user_bot(id))
return PLUGIN_CONTINUE;

trololo[id][0] = 0;

if ( get_user_flags (id) & ADMIN_ACCESS & FL_ONGROUND)
{
set_task ( 5.0, "wait_entergame" , id )
}
return PLUGIN_HANDLED;
}
Why my code is incorrect? I want that my task must be started after 5 seconds after player, who entered in the world with admin access...
This task shouldn't run when player in spectator or not allowed of any team, only after when entered in world or new round.
zippel is offline
Send a message via ICQ to zippel Send a message via Skype™ to zippel
 


Thread Tools
Display Modes

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 04:18.


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