Allow only specific Skins
#4

yes something like that. Or like that:
pawn Код:
if(!strcmp(cmdtext,"/opengate",true,9))
    {
        if(GetPlayerSkin(playerid) == 271) // IF PLAYER'S SKIN IS 271
        {
        if(GetPlayerSkin(playerid) == 271)
        SendClientMessage(playerid,0xAA3333AA,"Gate Opening...");
        /// Gate Open Code here
        }
        else SendClientMessage(playerid,AAD_COLOR_WHITE,"You do not have the correct skin to open the gate!");
        return 1;
    }
Reply


Messages In This Thread
Allow only specific Skins - by Memoryz - 01.08.2009, 14:36
Re: Allow only specific Skins - by Memoryz - 01.08.2009, 19:38
Re: Allow only specific Skins - by Hecky - 01.08.2009, 20:18
Re: Allow only specific Skins - by member - 01.08.2009, 20:37

Forum Jump:


Users browsing this thread: 2 Guest(s)