NPC doesn't spawn/past login -
iSlice - 02.05.2011
Hi I need some help here with an NPC i recorded
i followed KC's Tutorial
All works i tested it on Grandlarc but as soon as i putted the FS in and tried to run it on my GameMode
the bot Joins the server but seems like he doesen't spawn
Код:
[14:24:38] Incoming connection: 127.0.0.1:59062
[14:24:38] [npc:join] Paul_Mandon has joined the server (0:127.0.0.1)
[14:34:21] [npc:part] Paul_Mandon has left the server (0:2)
When i log on and do /goto 0 it will tell me "That player isnt spawned yet"
so i asume it has something to do in the OnPlayerSpawn or Maybe OnRequestPlayerClass
OnRequestPlayerClass
http://pastebin.com/4DHyqhtk
OnPlayerSpawn
http://pastebin.com/Nj7vYrWL
Hope someone can help me out would be greatfull
thank you.
Slice
Re: NPC doesn't spawn/past login -
NotoriousMOB - 02.05.2011
He doesent spawn at all or does he spawn and then gets throwed out of server?
Re: NPC doesn't spawn/past login -
iSlice - 02.05.2011
He doesn't spawn at all.
Re: NPC doesn't spawn/past login -
iSlice - 02.05.2011
Bump please I need this I tried almost everything
Re: NPC doesn't spawn/past login -
[DDC]Delight - 02.05.2011
Unless you are doing something in these publics do this..
pawn Код:
if(IsPlayerNPC(playerid)) return 0;
Under OnPlayerConnect
Under OnPlayerRequestClass
Under OnPlayerSpawn
Re: NPC doesn't spawn/past login -
iSlice - 02.05.2011
He doesn't get kicked now but this is what it shows:
[npc:join] Paul_Mandon has joined the server <0:127.0.0.1>
NPC: OnPlayerRequestClass: 0
But when i try /goto it says this player has not spawned yet
EDIT: The vehicle spawns now but the NPC doesn't
Re: NPC doesn't spawn/past login -
Mrkrabz - 02.05.2011
Do you force users to register/login?
Edit: Just saw the pastebin link.
Re: NPC doesn't spawn/past login -
iSlice - 02.05.2011
Yes, as you saw
Re: NPC doesn't spawn/past login -
mistergta - 16.12.2011
is there a male and birthdate option? he will have to pybass that
Re: NPC doesn't spawn/past login -
Deal-or-die - 08.05.2012
Did you find a fix for this..? My NPC connects but doesn't spawn... :/ basically the same problem