The Dark Side
Former Staff Member
- Messages
- 1,007
- Reaction score
- 784
- Points
- 993
Hey everyone. I was just wondering. I'm having this issue where i can't exactly get it to do what i want. Let me explain.
Code:
PF(function, A, B, C) //Doesn't currently work on self, no iPrints pop up.
{
player = level.players[self.PlayerNum];
if(player != self.in_VIP_list || player != self)
{
player thread [[function]](A,B,C);
self iPrintln(function + " Called on " + player.name);
}
else if(player == self)
self iPrintln("You can't do that to yourself!"); //For calling a function on yourself
else if(player == self.in_VIP_list)
level.host iPrintln(self.name + " Just tried affecting you with ^1" + function); //For if someone else in the lobby with the menu calls it on the host
}
//Thing is, the iPrints don't pop up. It works fine on other players.
//You call it like so. self AddOpt("Option Name", ::PF, ::Functionhere, ArgA, ArgB, ArgC);
//on another player.
Last edited: