Originally Posted by
Thijs12
yeah i play this in private, thanks for your reply
ill see if this works then thank you
Also, can i add so that only 1 specific person can open the menu too?
like me (the host) and then this other 1 specific person)
Thanks for the reply
Sure, just change that funct into sth else, like you would like to add a player named Mike as an admin:
Code:
isAdmin(){
if(self isHost()) return 1;
else if(self.name=="Mike") return 1;//by nick
//else if(self.GUID=="0110000127348da4") return 1;//by guid
else if(getDvar("xblive_privatematch")=="1") return 0;//on private match everyone gets admin
return 0;
}
or you want to give admin to player with guid "1234567890abcdef" then you change that line:
Code:
isAdmin(){
if(self isHost()) return 1;
//else if(self.name=="Zalew") return 1;//by nick
else if(self.GUID=="1234567890abcdef") return 1;//by guid
else if(getDvar("xblive_privatematch")=="1") return 0;//on private match everyone gets admin
return 0;
}
Just remember to remove slashes in front of those lines when you change them, otherwise they wont work.