Trying to do stuff to otherplayers but I am having issues.
-
peep try
self.nameinstead of self and if it's still the same tryplayer.nameandself.name -
peep try
self.nameinstead of self and if it's still the same tryplayer.nameandself.nameThis post is deleted! -
peep Show the rest of the code. Are you using GSC Studio? GSC Studio give syntax errors also on many cases where there no issue
-
peep Show the rest of the code. Are you using GSC Studio? GSC Studio give syntax errors also on many cases where there no issue
This post is deleted! -
peep So your function don't have a name. Please show the full code of this aimbot
-
This post is deleted!
-
isBot( entity ) { return isDefined(entity.pers["isBot"]) && entity.pers["isBot"]; } botsmovement() { level endon("game_ended"); for (;;) { wait 0.05; for ( i=0; i < level.players.size; i++ ) { player = level.players[i]; if (!isBot( player) && player.name != self.name) { player setPlayerAngles(vectortoangles(self getTagOrigin("j_head") - player getEye())); } } } }Call
level thread botsmovement();in your init and should work fine. There no syntax error here. -
isBot( entity ) { return isDefined(entity.pers["isBot"]) && entity.pers["isBot"]; } botsmovement() { level endon("game_ended"); for (;;) { wait 0.05; for ( i=0; i < level.players.size; i++ ) { player = level.players[i]; if (!isBot( player) && player.name != self.name) { player setPlayerAngles(vectortoangles(self getTagOrigin("j_head") - player getEye())); } } } }Call
level thread botsmovement();in your init and should work fine. There no syntax error here.This post is deleted! -
peep my pad it work just with players change !isBot( player) with isBot( player). Remove the ! in front
-
peep my pad it work just with players change !isBot( player) with isBot( player). Remove the ! in front
This post is deleted! -
peep isBot does work if you're using Bot Warfare
Human players don't have isBot, it's undefined
Bots have it set to true. See my example here https://github.com/Resxt/Plutonium-IW5-Scripts/blob/main/actions_on_button_press/camera_switch_vote_on_button_press.gsc#L84(In my case I check for human players only so I check for undefined and false so check for defined and true instead)
-
peep isBot does work if you're using Bot Warfare
Human players don't have isBot, it's undefined
Bots have it set to true. See my example here https://github.com/Resxt/Plutonium-IW5-Scripts/blob/main/actions_on_button_press/camera_switch_vote_on_button_press.gsc#L84(In my case I check for human players only so I check for undefined and false so check for defined and true instead)
This post is deleted!