27.04.2017, 13:03
CMD:kick(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new RecieverID;
if(sscanf(params,"u",RecieverID)) return SendClientMessage(playerid,0xFFFFFF,"/kick [id]
if(PlayerInfo[RecieverID][pAdmin] >= 1) return SetPlayerSkin(playerid,29);
Kick(Recieverid);
}
else
{
SendClientMessage(playerid,0xFFFFFF,"You are not admin");
}
return 1;
}
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new RecieverID;
if(sscanf(params,"u",RecieverID)) return SendClientMessage(playerid,0xFFFFFF,"/kick [id]
if(PlayerInfo[RecieverID][pAdmin] >= 1) return SetPlayerSkin(playerid,29);
Kick(Recieverid);
}
else
{
SendClientMessage(playerid,0xFFFFFF,"You are not admin");
}
return 1;
}