SA-MP Forums Archive
NPC help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: NPC help. (/showthread.php?tid=303149)



NPC help. - iGetty - 11.12.2011

I have correctly set-up my NPC as I did last time, but this time I have done it. No errors on the Pawno application and the script runs fine; BUT:

When I click "Samp-server.exe" everything loads, then it says

[quote]Incoming Connection: 127.0.0.1:1249]/quote]

Then that's the last thing it does. I have if(IsPlayerNPC))return 1; under
pawn Код:
OnPlayerConnect
And also under
pawn Код:
OnPlayerRequestClass
AND
pawn Код:
OnPlayerRequestSpawn
AND
pawn Код:
OnPlayerSpawn
But it does nothing for me. Please could somebody help me? Thanks. +rep is in order.


Re: NPC help. - GtasaPoliceModz - 12.12.2011

Under OnplayerConnect


Re: NPC help. - iGetty - 12.12.2011

I have it there... read before post hunting please.