[POMOC] Bot

17. Jul 2012. Zaključano
392
pregleda
3
postova
Colombo
4
Enforcer
17. Jul 2012.
Skripta koju koristim:CLRP
Detaljan opis problema:Znaci napravim bot-a u FS i connecta se na server i otidje ... sve mislim da je do GameMode al neznam ...
MAXnpc je 50 ...
Dio skripte:
[11:28:25] [npc:join] Guard has joined the server (0:127.0.0.1)
[11:28:25] [npc:part] Guard has left the server (0:2)

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Snooker
4
Shot Caller
17. Jul 2012.
My NPC leaves my server after it joins

Your script is forcing the NPC to login, or you have an anti-cheat / ping kicker that is interfering with your NPC. You can add...
if(IsPlayerNPC(playerid)) return 1;


... as the first line of any callbacks that bots will use, e.g. OnPlayerRequestClass or OnPlayerRequestSpawn. For an efficient, simple way of excluding NPCs from loops, check out foreach by Y_Less.
Colombo
4
Enforcer
17. Jul 2012.
Radi sad hvala 😉

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha