SA-MP Forums Archive
PutPlayerInVehicle NPC[SOLVED] - 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: PutPlayerInVehicle NPC[SOLVED] (/showthread.php?tid=326151)



PutPlayerInVehicle NPC[SOLVED] - !LukniS! - 16.03.2012

Good day!

Here's my code:

Code:
 if(!strcmp(npcname,"NPC",false))
 {
    NPCCar = Vehicle(416,-2647.4260,625.7491,14.6032,93.4109,1,3);
    PutPlayerInVehicle(playerid, NPCCar, 0);
    SetPlayerColor(playerid,0xFFFFFF00);
 }
When NPC spawns, he enters to Sultan, but I set him to enter Ambulance. Where's the problem?


Re: PutPlayerInVehicle NPC - !LukniS! - 16.03.2012

Solved