03.09.2014, 07:53
Quote:
Change the skin id (163)to your admin skin so admins can only choose that skin .
|
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 0 && (PlayerInfo[playerid][LoggedIn] == 0))
{
SendClientMessage(playerid, COLOR_RED, "*YOUR ERROR MESSAGE*");
return 0;
}
return 1;
}
if(GetPlayerSkin(playerid) == 1 && (PlayerInfo[playerid][LoggedIn] == 0))
{
SendClientMessage(playerid, COLOR_RED, "*YOUR ERROR MESSAGE*");
return 0;
}
return 1;
}
if(GetPlayerSkin(playerid) == 2 && (PlayerInfo[playerid][LoggedIn] == 0))
{
SendClientMessage(playerid, COLOR_RED, "*YOUR ERROR MESSAGE*");
return 0;
}
return 1;
}