Posts: 1,022
Threads: 207
Joined: Aug 2011
Reputation:
0
So i have a command called /settax which sets everyone Tax to the amount on the server and on my mysql database (accounts\Tax). How can i make that if someone registers, it will set their tax to the one the president has?
Posts: 371
Threads: 8
Joined: Aug 2012
example
pawn Код:
new Query[200];
format(Query,sizeof(Query)," INSERT INTO `PlayerData`(/*name,pass,etc..*/`Tax`) VALUES('%s')",tax);
Posts: 1,022
Threads: 207
Joined: Aug 2011
Reputation:
0
i need to detect the Tax from the president on mysql if they are offline.