19.07.2012, 09:02
Hello i want to ask how to make in my script if someone is not admin or VIP to kick him i am here:
How to make if the player is not admin ot vip or admin+vip to kick him ?
This code is working but when i do it like this
It gets tag mistmach or something like this
Код:
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
{
if(player_Admin[playerid] == 1 || player_VIP[playerid] == 1 || (player_VIP[playerid] == 1 && player_Admin[playerid] == 1)){
}else
{
............SOME CODE FOR KICKING......
}
}
This code is working but when i do it like this
Код:
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
{
if(!player_Admin[playerid] == 1 || !player_VIP[playerid] == 1 || !(player_VIP[playerid] == 1 && player_Admin[playerid] == 1)){
............SOME CODE FOR KICKING......
}
}


(rep)