18.07.2016, 13:16
The player will not return to class selection until they re-spawn. This can be achieved with TogglePlayerSpectating.
PHP код:
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);
TogglePlayerSpectating(playerid, true);
TogglePlayerSpectating(playerid, false);
SendClientMessage(playerid, COLOR_RED ,"SERVER This skin is locked for [EP]VACANT");
}
}