Blocking skins
#2

You can Use simple Functions which shows you if Player has invalid skin.
PHP код:
stock IsInvalidSkin(skin)
{
  
#define    MAX_INVALID_SKINS   15
    
new invalidSkins[MAX_INVALID_SKINS] =
    {
        
// Your Invalid Skins
    
};

    for (new 
0MAX_INVALID_SKINSi++)
    {
        if (
skin == invalidskinSkins[i] || skin || skin >= 300 ) return true;
    }

    return 
false;

and then your Skin changing CMD or place:
PHP код:
if(IsInvalidSkin(YOURSKINIDVARIABLE)) return SendClientMessage(playerid, -1"It is Invalid skin."); 
Reply


Messages In This Thread
Blocking skins - by Xdrime - 24.05.2016, 15:52
Re: Blocking skins - by GTLS - 24.05.2016, 15:57
Re: Blocking skins - by Dayrion - 24.05.2016, 16:15
Re: Blocking skins - by Stinged - 24.05.2016, 16:55
Re: Blocking skins - by Xdrime - 24.05.2016, 17:53
Re: Blocking skins - by Sew_Sumi - 24.05.2016, 17:59
Re: Blocking skins - by Dayrion - 24.05.2016, 18:04
Re: Blocking skins - by Stinged - 24.05.2016, 18:08
Re: Blocking skins - by Xdrime - 24.05.2016, 18:09
Re: Blocking skins - by Xdrime - 24.05.2016, 18:13

Forum Jump:


Users browsing this thread: 1 Guest(s)