View Full Version : NPC Help - It connects but in no way it passes the tutorial or login to spawn.

13/06/2012, 07:30 PM
Hello everyone,

I'm editting a game mode called Vortex 1 RP. And it's a pain in the ass with NPC's. I can't make them spawn. I've tried allready so much so i give up now.

I followed this tutorial: (KC's one)

After testing the whole thing on lvdm everything went fine and i was ready to put it into the gamemode Vortex RP1. But... After reading loads of forums that you need to add: if(IsPlayerNPC(playerid)) return 1; if the npc isn't spawning i just got confused. I tried so many way's to bypass the register/login/tutorial but i can't do it. So hopefully someone here is able to help this man in need. :rolleyes:

Here's the full script:

If you search for if(IsPlayerNPC(playerid)) return 1; You will find where i placed them.

I really hope someone can help me out with it. Many thanks. ;D

13/06/2012, 07:46 PM
Use something like:
if(IsPlayerNPC(playerid)) return SpawnPlayer(playerid);