Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // No Topo:
- #define ORG_DEFAULT 0
- #define ORG_REPORTER 1
- new Org[MAX_PLAYERS];
- // Aonde você deseja setar a Org do jogador:
- Org[playerid] = ORG_REPORTER;
- // Função que você usa para verificar se ele é Reporter:
- if(Org[playerid] == ORG_REPORTER)
- {
- // Funções
- }
- else
- {
- SendClientMessage(playerid, 0xFFFFFFFF, "Você não é Reporter.");
- }
- // Digamos que você queira setar/disponiblizar alguma coisa para todos os Reporteres:
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(Org[i] == ORG_REPORTER)
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement