Raised This Month: $ Target: $400
 0% 

Scripting Question(MySql)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 05-19-2014 , 03:01   Re: Scripting Question(MySql)
Reply With Quote #7

Quote:
Originally Posted by oxygen935 View Post
What about constant "TASK_SAVE_INFO" ?
it's just a number, whatever you want it to be
it's used so that each task has a specific id that has something to do with the player's id
for example, task_save_info = 1000, on player 32 the taskid will be 1032, you're gonna need that number to stop the task when a player leaves(which is important)

but if all you want to do is save, you can do it for all players at once, I use this method because I'm not only saving a currency but I'm also giving players +1 for each minute played, so you get the point.
aron9forever 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:43.


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