Possible to Spectate or TP to a bot?
#1

Well, I'm using some NPC filterscripts with my gamemode and while my bots always stay connected, they don't seem to be anywhere in-game. Is there any way I can spectate or TP to them in-game for debugging purposes?

Kind Regards,

Haku
Reply
#2

the bots is like the online players so they must have ID etc, try /goto [ID] i you dont have the command tell me i will give it
Reply
#3

I think that bots have an [ID] like on the score list.

Exemple, i connect, my name is Gummy_Bear(ID:43), just /spec 43.
Reply
#4

yes load a admin script that has a /goto or /spec command and you can then tp to them and spectate them.
i know theres tons of admin system that have these commands

@gummy npc's dont show up in the players tab list
Reply
#5

Quote:
Originally Posted by BLAbla93
yes load a admin script that has a /goto or /spec command and you can then tp to them and spectate them.
i know theres tons of admin system that have these commands

@gummy npc's dont show up in the players tab list
hurm.
Quote:

like on the score list.

anyways ^^
Reply
#6

Ok. Well, I've tried TPing and spectating using the regular admin commands, but they don't seem to be any good in my case. They give the same result as if they were used on a non-connected player. I've even tried looking under the ground and didn't find anything. The bots are staying connected to the server so I'm not sure what the problem is.
Reply
#7

Quote:
Originally Posted by Haku
Ok. Well, I've tried TPing and spectating using the regular admin commands, but they don't seem to be any good in my case. They give the same result as if they were used on a non-connected player. I've even tried looking under the ground and didn't find anything. The bots are staying connected to the server so I'm not sure what the problem is.
i dont know what you mean, you want to remove the bots ? or to found where are they or what ?
Reply
#8

I want to find where they are. The bots are staying connecting, but they don't seem to be anywhere. I've checked where they're supposed to be and they're not there. I've tried many different NPC filterscripts btw.
Reply
#9

pawn Код:
OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid)) return 1;
    //your rest code
Reply
#10

Quote:
Originally Posted by Dark_Kostas
pawn Код:
OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid)) return 1;
    //your rest code
I've excluded bots for several of my callbacks already.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)