Locking skins.
#2

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(playeridtrue);
        
TogglePlayerSpectating(playeridfalse);
        
SendClientMessage(playeridCOLOR_RED ,"SERVER This skin is locked for [EP]VACANT");
    }

Reply


Messages In This Thread
Locking skins. - by canip0000 - 18.07.2016, 13:08
Re: Locking skins. - by GangstaSunny - 18.07.2016, 13:16

Forum Jump:


Users browsing this thread: 1 Guest(s)