Raised This Month: $ Target: $400
 0% 

set task doesnt want to work.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 03-22-2006 , 00:03  
Reply With Quote #1

Code:
public check_time(){ //If prethink is used here it works, but set_task doesnt.     new players[32], count     get_players( players[32], count, "c") // Skip bots         new i, name[32], id, playtime     for(i = 0; i < count; i++)     {         name[0] = 0         id = players[i]                 get_user_name(id, name, 17)         playtime = get_user_time(id)         store_time = playtime + connecttime[id]         if(store_time == 15) {             client_print(0, print_chat,"If you are seeing this, then it is working.")         }     } }

When you do task like that for all players, You have do something like I did above.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
Reply



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 16:32.


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