10.02.2017, 02:38
If i died. and it stole some of the cash. as i search it was a money default takes -100 cash from you.
Anyhow to do this? like it shows the fake money then if i spawn again. it show the real money
Save / load in mysql
Anyhow to do this? like it shows the fake money then if i spawn again. it show the real money
Save / load in mysql
Код:
PlayerInfo[playerid][Money]
Код:
public OnPlayerDeath(playerid, killerid, reason) { new currentCash = GetPlayerMoney(playerid); if (currentCash >= 100) currentCash += 100; ResetPlayerMoney(playerid); GivePlayerMoney(playerid, currentCash); return 1; }