Skin n using skin help
#1

Код:
public OnPlayerRequestSpawn(playerid)
{

    if(GetPlayerSkin(playerid) == 285)
    {
        if(PlayerInfo[playerid][pSwat] < 1)
        {
            GameTextForPlayer(playerid,"~r~~h~ADMIN~b~ Permission Needed",3000,3);
            SendClientMessage(playerid,COLOR_RED,"» You Need to Apply to join Swat Team");
            return 0;
        }
    }
    return 1;
}
When i join n spawn as spot it let me join even if the player info doesnt have swat in its info as 1, and yes my saving system works perfectly
Reply


Messages In This Thread
Skin n using skin help - by trapstar2020 - 18.08.2012, 15:57
Re: Skin n using skin help - by Naruto_Emilio - 18.08.2012, 16:09
Re: Skin n using skin help - by trapstar2020 - 18.08.2012, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)