SA-MP Forums Archive
npc problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: npc problem (/showthread.php?tid=238411)



npc problem - mike_1 - 11.03.2011

iv got a verry big problem my npc are not get into their vehicles and they are not listen to my commands! looks like this:

if(IsPlayerNPC(playerid))

new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "MyFirstNPC", true))

PutPlayerInVehicle(playerid, MyFirstNPCVehicle, 0);

i added this pawno code but my npc is not geting in the vehicle and it is not change the skin...anyway i hope there is another pawno code because my npcs are not understand this one....
what can i do? can anyone help me? i dont know what to do ...
please help me.
sorry for my bad english thanks