Thread: help please
View Single Post
Old 12/03/2019, 08:29 PM   #2
Join Date: Dec 2018
Posts: 254
Reputation: 25
Default Re: help please

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 Code:
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;
SymonClash is offline   Reply With Quote