SA-MP Forums Archive
Vehicle id issue - 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: Vehicle id issue (/showthread.php?tid=279011)



Vehicle id issue - BMan17 - 24.08.2011

I made an NPC for my server that was supposed to be driving a Coach.
But it shows up driving an NRG-500.
Then I tried the Bus, and the NPC was driving a Greenwood.
I think I put the right vehicle id in the script for the Coach(437) or the Bus(431).

Would anyone know what the problem is?


Re: Vehicle id issue - Kingunit - 24.08.2011

We can't smell what's your problem. How about some code?


Re: Vehicle id issue - Jefff - 24.08.2011

Top
new Coach;

Init
Coach = AddStaticVehicleEx(...

OnPlayerSpawn + IsPlayerNPC and nick = CoachDriver
PutPlayerInVehicle(playerid,Coach,0);