SA-MP Forums Archive
[HELP ._.]NPCs - 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: [HELP ._.]NPCs (/showthread.php?tid=100855)



[HELP ._.]NPCs - Mac_Rulez - 07.10.2009

NPCs working fine on some gamemodes. But in my own Game Mode when i put the NPCs on server they connect. But when i teleport to some npc they are on Coordinates X = 0, Y=0 e Z=0 ._. I put on OnPlayerConnect and OnPlayerRequestClass and OnPlayerRequestSpawn and OnPlayerSpawn (@_@) the code " if(IsPlayerNPC(playerid)) return 1; " but continue not working =(


Really sorry the bad english =O


Re: [HELP ._.]NPCs - Limex - 07.10.2009

If you return 1; BEFORE you set their position then it won't work.


Re: [HELP ._.]NPCs - Mac_Rulez - 07.10.2009

NPCs is on a FS and with LVDM works fine


Re: [HELP ._.]NPCs - kman - 15.10.2009

how to make it that it works on your Gm because it didnt work on mine but worked on lvdm


Re: [HELP ._.]NPCs - kman - 15.10.2009

o in your server do u have to login