Quote:
Originally Posted by oxygen935
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.