[Help] my NPC can not login in my server
#1

i use a godfather RP server that needs to login before you can spawn.. for that reason my NPC can not spawn!
My NPC connect in my server but it can not spawn because it needs to login first.. if you know how to make the npc to spawn plz help me
Reply
#2

Try to add

pawn Код:
if(IsPlayerNPC(playerid)) return 1;
onto OnPlayerRequestClass, Or OnPlayerRequestSpawn
Reply
#3

works! the npc pass the login system.. but now the npc must write his stats Exaple: Are you a Male or Female? (Type in what you are). or it cant spawn
Reply
#4

in your tutorial if(IsPlayerNPC(playerid)) return 1;
Reply
#5

is not working
Reply
#6

in ur tut put if(IsPlayerNPC(playerid)) SpawnPlayer(playerid);

and upt the tut variable to 0 or w/e (turn the tut off)
Reply
#7

Quote:
Originally Posted by DarkClone
Посмотреть сообщение
Try to add

pawn Код:
if(IsPlayerNPC(playerid)) return 1;
onto OnPlayerRequestClass, Or OnPlayerRequestSpawn
CAn u give me a complete code i don't know how to do D:
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)