NPC's - 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's (
/showthread.php?tid=163290)
NPC's -
lilswizy - 26.07.2010
Hello, I need help because i want to record an npc and put it on my server but with /register /login command i cant do it because LuxAdmin has +12,000 lines and im not a good scripter to figure it out can someone help me who has LuxAdmin.I know i gotta use IsPlayerNPC or something like that
Re: NPC's -
gamer931215 - 11.09.2010
find on luxadmin OnPlayerConnect and add this in the beginning:
pawn Код:
if (IsPlayerNPC(playerid)) return 1;
That will skip the rest of the script (so login script) for every NPC.
Edit: sorry for bump, didnt look at the date (was looking at ur profile-> started threats) but lol, you didnt got responses for this ?