help please
#2

You need to give us more info about how your VIP system is structured.

Assmuing you're using gTeam and saving player variables in an enum, i would do it in this way:

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(gTeam[playerid] == YOUR_TEAM_NAME && Player[playerid][Vip] == 0)
    {
        GameTextForPlayer(playerid, "~w~You must be ~r~a VIP member to choose this team!", 3000, 3);
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
help please - by soobya - 12.03.2019, 16:55
Re: help please - by SymonClash - 12.03.2019, 20:29
Re: help please - by soobya - 14.03.2019, 16:55
Re: help please - by PoniStar - 14.03.2019, 20:32

Forum Jump:


Users browsing this thread: 2 Guest(s)