24.06.2013, 12:25
No. I don't understand your code on the first one. Why are asking if(IsReclassed[playerid] == 0) on player death? Wouldn't it be set to 1 in order to charge money?
Why not just put this directly into the command?
Why not just put this directly into the command?
pawn Код:
new mrand =random(10000);
format(string,sizeof(string),"[HOSPITAL] The hospital has charged you %d$ for their medical services.",mrand);
SendClientMessage(playerid,COLOR_RED,string);
GivePlayerMoney(playerid,-mrand);