NPC Connect with 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: NPC Connect with Login (
/showthread.php?tid=214891)
NPC Connect with Login -
sapsap - 22.01.2011
Hey guys,
I recently made an NPC. Now my gamemode is a GF edit and since you know, GF requires a login. It does connect but since in every GF you have to type/choose your gender it won't spawn. Any Ideas?
Thanks in advance !
Re: NPC Connect with Login -
Not available - 22.01.2011
Put this underneath OnPlayerConnect OnPlayerRequestClass and OnPlayerSpawn:
pawn Код:
if(IsPlayerNPC(playerid)) return 1;
Re: NPC Connect with Login -
sapsap - 22.01.2011
Thanks I'll try it now and post a response here!
Re: NPC Connect with Login -
Sasino97 - 22.01.2011
Yes its correct.
PS: Funny Avatar
Re: NPC Connect with Login -
sapsap - 22.01.2011
Yeah it works now, thanks and I know the avatar is hilarious