NPC thing. [Question] - 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 thing. [Question] (
/showthread.php?tid=399468)
NPC thing. [Question] -
Sting. - 14.12.2012
I have this admin system which I have but the thing is that It has a registration but the problem is I can't compile or run the script so last time I tried an NPC to connect it works but you have to login within 30 secs or you won't be kicked so everytime they join they have no pass or setting so they just get kicked. Now is it possible that I create a user account and password for a bot. Etc. Randy. I log in as Randy and register as Randy. Now is it possible that I can make the bot log in like to type the pass? Like something OnPlayerConnect but the bot connects and it will type the password or something? Lol
Re: NPC thing. [Question] -
Lordzy - 14.12.2012
Give the login/registeration features for NON-NPCs. You can use
IsPlayerNPC function for declaring is it a bot or player and ignore bot from login and register.
Re: NPC thing. [Question] -
Sting. - 14.12.2012
Yes I understand but the damn problem is that I can't do anything in the admin script. The admin script controls the login/register system. I can't
compile or run
Re: NPC thing. [Question] -
Farrow - 15.12.2012
Theres not much you can do without editing that script, sorry. Try to use PAWNO to edit the .pwn file. if you only have the .AMX try using DeAMX. But you cannot use the NPC's without editing the script.
Re: NPC thing. [Question] -
Sting. - 15.12.2012
Alright thanks.