22.11.2011, 18:22
Hey i wanted to make 2 player slots for admins but what i maked didnt work:
This is under onplayerconnect
Can anyone help me? i dont know why its not working got no errors but its neither working
This is under onplayerconnect
pawn Код:
if(GetMaxPlayers() -2)
{
if(APlayerData[playerid][PlayerLevel] < 1)
{
SendClientMessage(playerid, 0xFFFFFFF,"Last 2 slots are for admins");
Kick(playerid);
return 1;
}
}