NPC Problem - 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 Problem (
/showthread.php?tid=291509)
NPC Problem -
_ReloadeD_ - 20.10.2011
I did a NPC and It's Work....
Now I use Reven's Roleplay script and I add my code to the script and my Bot get crashed....
I try to make a filterscript and the same result.....
someone help?
Re: NPC Problem -
Tomejus - 20.10.2011
Crashed? You have to disable log/reg system for bot and etc.
Re: NPC Problem -
_ReloadeD_ - 20.10.2011
amm ok I will try now
Re: NPC Problem -
_ReloadeD_ - 20.10.2011
Код:
if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1 && !IsPlayerNPC(playerid))
{
if (gPlayerAccount[playerid] != 0)
{
ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_INPUT,"Welcome, Please Log-In","Type your password below to log-in","Log-in","Quit");
}
else
{
ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_INPUT,"Welcome, Please Register","Type your password below to register a new account.","Register","Quit");
}
}
I disable the register system to him and the same effect.....
Re: NPC Problem -
Tomejus - 20.10.2011
OnPlayerSpawn, class and so on disable it too.