SA-MP Forums Archive
Confusing errors - 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: Confusing errors (/showthread.php?tid=597447)



Confusing errors - FunnyBear - 31.12.2015

Fixed.


Re: Confusing errors - Forge - 31.12.2015

Try this, not sure if it will work.

Код:
new ModelID;

ModelID = GetVehicleModel(vehicleid);

if((ModelID == 427 || ModelID  == 490 || ModelID  = 596 || ModelID  == 523 || ModelID  == 601 || ModelID == 49) && (!IsALawEnforcement(playerid)))
Edit: Oh, I can see you fixed it, nevermind.