SA-MP Forums Archive
Code not applying as expected - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Code not applying as expected (/showthread.php?tid=446001)



Two Problems and one Request/Question - _Khaled_ - 24.06.2013

FIRST PROBLEM SOLVED

SECOND PROBLEM SOLVED

Third one.. How to IP Ban someone using Y_INI system?


Re: Code not applying as expected - _Khaled_ - 24.06.2013

bump


Re: Code not applying as expected - introzen - 24.06.2013

pawn Код:
RemovePlayerFromVehicle
?


Re: Code not applying as expected - _Khaled_ - 24.06.2013

To prevent him from entering the vehicle, do you have any solutions for the three questions?


Re: Code not applying as expected - introzen - 24.06.2013

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



Re: Code not applying as expected - _Khaled_ - 24.06.2013

I make it if(IsReclassed = 1) Then the player has used /reclass so it doesn't charge medical fees.
and also with removing it at all, not working.


Re: Code not applying as expected - introzen - 24.06.2013

I don't understand...

WHAT is not working? Explain please.


Re: Code not applying as expected - _Khaled_ - 24.06.2013

Quote:

The error is that the Hospital Charges stopped working.. anyone?

here..