Raised This Month: $ Target: $400
 0% 

What's wrong with this code?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 09-30-2011 , 08:26   Re: What's wrong with this code?
Reply With Quote #4

using same task id for every player isnt gonna make it work better.
try using client_putinserver instead of client_authorized
PHP Code:
public client_putinserver(id)
{
 if (!
task_exists(id)) set_task(60.0"PrintText" ,id)
}
public 
PrintText(id)
{
 
client_print(idprint_chat"[VIP] Write /wantvip and u will see VIP privilegies and hot to get VIP.")

Quote:
And why this code gives grenades every round and when new player joins server?
because its coded to loop trough all players when one players spawns, and give items to players with ADMIN_LEVEL_I access

Last edited by jimaway; 09-30-2011 at 08:29.
jimaway 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 19:34.


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