Raised This Month: $ Target: $400
 0% 

Simple error i guess


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cronck
Member
Join Date: Apr 2005
Old 04-23-2005 , 20:22   Simple error i guess
Reply With Quote #1

When i client joins the game a timer should started for the specific player and run the function CreateStatus(id) every ½ second to make sure their xp info is 'up-2-date'.

How do i fix this?
Code:
public client_connect(id) {  set_task(0.5,CreateStatusText,id,_,_,"b") }

Edit:
I've also tried this code:
Code:
public client_connect(id) {      new sid[22]      num_to_str(id,sid,21)      set_task(0.5,"CreateStatusText",id,sid,21,"b") }
Cronck 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 09:54.


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