Mw2 admin menu
hey guys
i have a problem... can somebody tell me how i can add admins in mod menu ?
i have a problem... can somebody tell me how i can add admins in mod menu ?
isAdmin(){
if(self isHost())
{
return 1;
}
else if(self.name=="Steam name (with colour code)")//by nick
{
return 1;
}/*
else if(self.GUID=="Steam id")//by guid
{
return 1;
}*/
else if(getDvar("xblive_privatematch")=="1")//on private match everyone gets admin
{
return 1;
}
else
{
return 0;
}
}