SA-MP Forums Archive
Fix veh - 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: Fix veh (/showthread.php?tid=498695)



Fix veh - gekas - 04.03.2014

Can to make this for all veh


if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 411)
Make it for all cars not only for inferius


Re: Fix veh - gekas - 04.03.2014

Can or cant


Re: Fix veh - Konstantinos - 04.03.2014

If you want all the vehicles (not only cars but bikes/boats/aircrafts etc), then remove that if statement.
If you want only cars, then replace that line with:
pawn Код:
if (IsCar(GetPlayerVehicleID(playerid)))
for the function: http://forum.sa-mp.com/showpost.php?...00&postcount=2


Re: Fix veh - gekas - 04.03.2014

thnxxxxxx