PDA

View Full Version : PutPlayerInVehicle NPC[SOLVED]


!LukniS!
16/03/2012, 02:42 PM
Good day!

Here's my 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?

!LukniS!
16/03/2012, 02:51 PM
Solved