Block Skins !
#1

hey guys,
i got Zombies vs human mode and there is option to create your own class
like skin , weapons , abillity ..
that is my code:
case CUSTOMCLASS_SKIN:
{
if(response)
{
if(!strcmp(inputtext, "67", true))
SendClientMessage(playerid,COLOR_ROJO,"This Skin is not allowed !");
}
else
{
new SkinIDInText[100];
format(SkinIDInText,sizeof(SkinIDInText),"%s",inpu ttext);
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;
}

now i want to do that if someone choose skin id 67 he will get error , it's working but cant choose other skins too
it's just dont change the skin
help ?
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: 1 Guest(s)