Please need Help
#1

I am tring to create my own NPC to my server But I Can't Succed
My Server Have A Password {you need to enter a password to join or to register} i can see that my npc is joining the server But It's Not Spawning
Plz Help ME
sorry For my bad english
Thanks
Reply
#2

your using OnNPCSpawn right ?
list of all NPC callbacks/functions
https://sampwiki.blast.hk/wiki/Category:NPC
Reply
#3

On player connect:

Код:
if(IsPlayerNPC(playerid)){ SpawnPlayer(playerid); }
Reply
#4

Quote:
Originally Posted by Marco_Valentine
Посмотреть сообщение
On player connect:

Код:
if(IsPlayerNPC(playerid)){ SpawnPlayer(playerid); }
Oh Come On Man My Npc Is Joining The Server But It's Not let Him Spawn
My Server Have a Login And Registeration System
Can You Help Me !
Thanks
Reply
#5

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
your using OnNPCSpawn right ?
list of all NPC callbacks/functions
https://sampwiki.blast.hk/wiki/Category:NPC
No I'm Not Using OnNPCSpawn
My NPC is Joining The Server But It's Not Spawn
Reply
#6

http://pastebin.com/n6fr8CJr tHIS IS MY SCRIPT
Reply
#7

It has been a while since I've messed with NPCs, but last I checked you need to let the NPC pass introduction callbacks such as OnPlayerConnect and OnPlayerSelectClass
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)