Code:
new emmetskin; emmetskin = addplayerclass etc....
Code:
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
if( GetPlayerSkin (playerid) == emmetskin) // edit to the private skin
{
if(!strcmp(Name,"[EP]VACANT")) // Edit this
{
SendClientMessage(playerid,COLOR_RED,"SERVER: Sup.");
}
else
{
ForceClassSelection(playerid);
SendClientMessage(playerid, COLOR_RED ,"SERVER This skin is locked for [EP]VACANT");
}
}
if(gTeam[playerid] == TEAM_HOODRAT ) {
{
SendClientMessage(playerid, COLOR_GREY, "SERVER: Type /hoodrats to see more information.");
return 1;
}
}
anyone answer me why this is not working??
Locking skins.
Aucun commentaire:
Enregistrer un commentaire