drifter npc not working - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: drifter npc not working (
/showthread.php?tid=200308)
drifter npc not working -
Kitten - 18.12.2010
Solved
Re: drifter npc not working -
The_Gangstas - 18.12.2010
why the hell are u doing this al the time?
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
maybe its because your returning one in the first isplayernpc check so it stops the function before the others
Re: drifter npc not working -
Kitten - 18.12.2010
Solved
Re: drifter npc not working -
Kitten - 18.12.2010
Solved