• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] mysql server problem
#3
^ Use that as above when a player respawns or dies or whatsoever, else you can just function a loop every 5 minutes (or if u have any loop that goes through connected players)



example:

Code:
for(new i = 0; i != MAX_PLAYERS; i)

{

if(!IsPlayerConnected(i)) continue;

ResetPlayerMoney(i);

GivePlayerMoney(playerid, PlayerData[playerid][pMoney] );

}
  Reply


Messages In This Thread
mysql server problem - by Trox - 2019-05-06, 09:10 PM
RE: mysql server problem - by JustMichael - 2019-05-06, 11:47 PM
RE: mysql server problem - by unix - 2019-05-08, 08:50 PM

Forum Jump: