25.12.2012, 18:53
The command works fine, you're doing something wrong. If your admin level is 1, it won't work because you check if the admin level is equal or greater to 2. If you want for levels 1 and greater, then you have to use '>='.
If the operations confuse you, then read this from SA:MP Wiki - Control Structures#Operators
pawn Code:
CMD:kick(playerid, params[])
{
if (PlayerInfo[playerid][pAdmin]>=1) SetPlayerSkin(playerid,29);
else Kick(playerid);
return 1;
}