Block Skins !
#7

Quote:
Originally Posted by Eth
Посмотреть сообщение
pawn Код:
case CUSTOMCLASS_SKIN:
    {
        if(response)
     {
if(!strcmp(inputtext, "0", true) && !strcmp(inputtext, "1", true) && !strcmp(inputtext, "73", true) && !strcmp(inputtext, "78", true) && !strcmp(inputtext, "79", true) && !strcmp(inputtext, "75", true) && !strcmp(inputtext, "134", true) && !strcmp(inputtext, "136", true) && !strcmp(inputtext, "142", true)
&& !strcmp(inputtext, "137", true) && !strcmp(inputtext, "149", true) && !strcmp(inputtext, "157", true) && !strcmp(inputtext, "158", true) && !strcmp(inputtext, "159", true) && !strcmp(inputtext, "160", true) && !strcmp(inputtext, "161", true) && !strcmp(inputtext, "162", true) && !strcmp(inputtext, "163", true)
&& !strcmp(inputtext, "168", true) && !strcmp(inputtext, "181", true) && !strcmp(inputtext, "183", true) && !strcmp(inputtext, "196", true) && !strcmp(inputtext, "197", true) && !strcmp(inputtext, "198", true) && !strcmp(inputtext, "200", true) && !strcmp(inputtext, "201", true) && !strcmp(inputtext, "202", true)
&& !strcmp(inputtext, "212", true) && !strcmp(inputtext, "213", true) && !strcmp(inputtext, "217", true) && !strcmp(inputtext, "220", true) && !strcmp(inputtext, "229", true) && !strcmp(inputtext, "230", true) && !strcmp(inputtext, "239", true) && !strcmp(inputtext, "241", true) && !strcmp(inputtext, "242", true)
&& !strcmp(inputtext, "262", true) && !strcmp(inputtext, "264", true) && !strcmp(inputtext, "285", true) && !strcmp(inputtext, "294", true) && !strcmp(inputtext, "297", true) && !strcmp(inputtext, "10", true) && !strcmp(inputtext, "9", true) && !strcmp(inputtext, "28", true) && !strcmp(inputtext, "33", true)
&& !strcmp(inputtext, "68", true) && !strcmp(inputtext, "70", true) && !strcmp(inputtext, "77", true) && !strcmp(inputtext, "80", true) && !strcmp(inputtext, "81", true) && !strcmp(inputtext, "99", true) && !strcmp(inputtext, "123", true) && !strcmp(inputtext, "122", true) && !strcmp(inputtext, "164", true)
&& !strcmp(inputtext, "102", true) && !strcmp(inputtext, "103", true) && !strcmp(inputtext, "104", true) && !strcmp(inputtext, "105", true) && !strcmp(inputtext, "106", true) && !strcmp(inputtext, "107", true) && !strcmp(inputtext, "108", true) && !strcmp(inputtext, "109", true) && !strcmp(inputtext, "263", true)
&& !strcmp(inputtext, "110", true) && !strcmp(inputtext, "269", true) && !strcmp(inputtext, "270", true) && !strcmp(inputtext, "271", true))
         return SendClientMessage(playerid,COLOR_ROJO,"This Skin is not allowed !"); //YOU FORGOT THE RETURN
         else
         {
         new SkinIDInText[100];
        format(SkinIDInText,sizeof(SkinIDInText),"%s",inputtext);
        SetPlayerSkin(playerid,strval(inputtext));
     playerskin = GetPlayerSkin(playerid);
        new INI:File = INI_Open(UserPath(playerid));
        INI_SetTag(File,"data");
           INI_WriteInt(File,"pSkin",playerskin);
     pInfo[playerid][pSkin] = playerskin;
           INI_Close(File);
           }
           }
        return 1;
    }
Not working
Reply


Messages In This Thread
Block Skins ! - by s0ZNIz - 07.11.2014, 13:47
Re: Block Skins ! - by DiGiTaL_AnGeL - 07.11.2014, 14:03
Re: Block Skins ! - by s0ZNIz - 07.11.2014, 20:15
Re: Block Skins ! - by Capua - 07.11.2014, 20:20
Re: Block Skins ! - by s0ZNIz - 08.11.2014, 20:48
Re: Block Skins ! - by Eth - 08.11.2014, 20:55
Re: Block Skins ! - by s0ZNIz - 08.11.2014, 21:04
Re: Block Skins ! - by DavidBilla - 08.11.2014, 23:56
Re: Block Skins ! - by Abagail - 09.11.2014, 00:07
Re: Block Skins ! - by s0ZNIz - 09.11.2014, 03:53

Forum Jump:


Users browsing this thread: 2 Guest(s)