Code not applying as expected
#5

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?
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);
Reply


Messages In This Thread
Two Problems and one Request/Question - by _Khaled_ - 24.06.2013, 01:29
Re: Code not applying as expected - by _Khaled_ - 24.06.2013, 12:09
Re: Code not applying as expected - by introzen - 24.06.2013, 12:13
Re: Code not applying as expected - by _Khaled_ - 24.06.2013, 12:19
Re: Code not applying as expected - by introzen - 24.06.2013, 12:25
Re: Code not applying as expected - by _Khaled_ - 24.06.2013, 12:29
Re: Code not applying as expected - by introzen - 24.06.2013, 12:34
Re: Code not applying as expected - by _Khaled_ - 24.06.2013, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)