SA-MP Forums Archive
Get NPSs through Login - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Get NPSs through Login (/showthread.php?tid=214390)



Get NPSs through Login - sapsap - 21.01.2011

Hey guys,

I got another question:
How do I let NPCs through my login system so they can spawn?


Thanks in advance!


Re: Get NPSs through Login - Alby Fire - 21.01.2011

Post here your "OnPlayerRequestSpawn".


Re: Get NPSs through Login - sapsap - 21.01.2011

Ill post it later, somehow cnt acces the script now :/


Re: Get NPSs through Login - DRIFT_HUNTER - 21.01.2011

Just check is player NPC and if it is return 1
Add before your login
pawn Код:
if(IsPlayerNpc(playerid)) return 1;



Re: Get NPSs through Login - sapsap - 21.01.2011

Nice, thanks