IsPlayerInAnyVehicle - 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: IsPlayerInAnyVehicle (
/showthread.php?tid=439835)
IsPlayerInAnyVehicle -
jackci - 27.05.2013
Код:
if(IsPlayerInAnyVehicle(victimid))
format(string,sizeof(string),"%s (%d) is inside a vehicle.",victim,victimid);
MsgToAdmins(orange,stringd);
Whats wrong with this?
Re: IsPlayerInAnyVehicle -
Abhishek. - 27.05.2013
it shows errors or its not working?
Re: IsPlayerInAnyVehicle -
jackci - 27.05.2013
Its not working
Re: IsPlayerInAnyVehicle -
Abhishek. - 27.05.2013
2 things add curly braces after if statment
or it would only read the next line with the if statment ,none of the upcommeing statents.
but logically it should work.....
or maybe post your message to admin function,and do it shows nothing?
and post your format line in pawn tags coz my phones browser donsnt allows me to view it clearly....maybe break it into two three parts by enter key