Team restriction
#4

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(GetPlayerSkin(MySkin)) //A skin or gTeam or whatever you want
    {
        if(GetPlayerScore(playerid) < 100)
        {
            SendClientMessage(playerid, 0xCC0000AA, "You can't spawn as this class!");
            return 0;
        }
    }
    return 1;
}
Reply


Messages In This Thread
Team restriction - by Twinki1993 - 08.02.2012, 22:34
Re: Team restriction - by [ABK]Antonio - 08.02.2012, 23:40
Re: Team restriction - by Twinki1993 - 09.02.2012, 02:30
Re: Team restriction - by [ABK]Antonio - 09.02.2012, 03:28

Forum Jump:


Users browsing this thread: 2 Guest(s)