Trying to do stuff to otherplayers but I am having issues.
-
This post is deleted!
-
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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login