SaveAccounts
#1

Hey how can i make this SaveAccounts for every seccond ? Becuse i have money bug and i want when i give money /givemoney to be saved.

PHP код:
accountstimer SetTimer("SaveAccounts"600001); //10 mins every account saved 
Reply
#2

Change 60000 to 1000.
Reply
#3

You want to save ALL players' account data EVERY SECOND? That's ridiculous! You should save every minute at the most. Just update their account data for cash when you give them cash.
Reply
#4

Quote:
Originally Posted by MP2
Посмотреть сообщение
You want to save ALL players' account data EVERY SECOND? That's ridiculous! You should save every minute at the most. Just update their account data for cash when you give them cash.
how can i do that?
Reply
#5

bump
Reply
#6

Quote:
Originally Posted by Vizi
Посмотреть сообщение
Hey how can i make this SaveAccounts for every seccond ? Becuse i have money bug and i want when i give money /givemoney to be saved.
PHP код:
accountstimer SetTimer("SaveAccounts"6000060); //10 mins every account saved 
Reply
#7

Do you have a command such as /givemoney? or something? Just.. make it add the given amount to the player's money on the file.

If you are using dini include it would be something like this:
dini_IntSet("Denying.ini", "Cash", "Cash+new amount");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)