Adding bots to gtarp/larp GM - 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: Adding bots to gtarp/larp GM (
/showthread.php?tid=132727)
Adding bots to gtarp/larp GM -
SaW_[VrTx] - 09.03.2010
Is this possible to add bots in
THIS GM? Cus it requires to register, login, fill dats and so so.. Save stats also..
Re: Adding bots to gtarp/larp GM -
Torran - 09.03.2010
Well yes it is,
Create a user file with the NPC name,
And then when a npc connects,
Make the NPC send a command logging in.
Re: Adding bots to gtarp/larp GM -
aircombat - 09.03.2010
well there is a function i dont remember it was like : If(IsPlayerNpc) or something which u put onplayerconnect(or register script) and add a return one which let him evade the register
________
Kitchen Measures
Re: Adding bots to gtarp/larp GM -
Torran - 09.03.2010
Quote:
Originally Posted by [AC
Etch ]
well there is a function i dont remember it was like : If(IsPlayerNpc) or something which u put onplayerconnect(or register script) and add a return one which let him evade the register
|
Or that XD,
Re: Adding bots to gtarp/larp GM -
Carlton - 09.03.2010
In LA-RP and GTA-RP, players get kicked right after they join if they don't have a RP name. Vago1 or Vago2 etc.. is not a roleplay name, change their name, then on OnPlayerRequestClass, add this:
Код:
if(IsPlayerNPC(playerid)) return SpawnPlayer(playerid);
Re: Adding bots to gtarp/larp GM -
SaW_[VrTx] - 09.03.2010
Now they're just standing at spawnpoint..
Re: Adding bots to gtarp/larp GM -
SaW_[VrTx] - 09.03.2010
Filterscript - FS -
http://pawno.pastebin.com/faByVLGF