SA-MP Forums Archive
Vehicle menu help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicle menu help (/showthread.php?tid=91497)



Vehicle menu help - Stunterz - 15.08.2009

Hi, i have this vehicle menu, the first menu works (/offroads) but the rest you can see, but when you select a vehicle, it just dose nothing, please help :P

http://pastebin.com/m7b0923b2


Re: Vehicle menu help - Andom - 15.08.2009

Change all
Код:
if(IsPlayerInAnyVehicle(playerid))
to
Код:
if(!IsPlayerInAnyVehicle(playerid))
Because now you have something like:
If a player is in a vehicle, it will say that he isn't.


Re: Vehicle menu help - Stunterz - 15.08.2009

now none of the vehicles spawn when you choose to get one