08.03.2014, 14:35
You can try:
new Moneys[MAX_PLAYERS]; // above armour for example
When godmode = 0
Moneys[playerid] = GetPlayerMoney(playerid);
ResetPlayerMoney(playerid);
and for backup
When godmode = 1
GivePlayerMoney(playerid,Moneys[playerid]);
new Moneys[MAX_PLAYERS]; // above armour for example
When godmode = 0
Moneys[playerid] = GetPlayerMoney(playerid);
ResetPlayerMoney(playerid);
and for backup
When godmode = 1
GivePlayerMoney(playerid,Moneys[playerid]);