NPC Help - It connects but in no way it passes the tutorial or login to spawn.
#1

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)
https://sampforum.blast.hk/showthread.php?tid=95034

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.

Here's the full script:
http://www.megafileupload.com/en/fil...orteX-rar.html

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.
Reply
#2

Use something like:
pawn Код:
if(IsPlayerNPC(playerid)) return SpawnPlayer(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)