13.03.2019, 17:24
Como fasso pra dar a org com o id das orgs?
ID Das Org:
PHP Code:
CMD:darorg(playerid, params[])
{
if(7 <= Profissao[playerid] <= 8)
{
new 1 = Profissao[playerid] = Groove;
new 2 = Profissao[playerid] = PCC;
new 3 = Profissao[playerid] = ComandoVermelho;
new 4 = Profissao[playerid] = Policial;
if(sscanf(params, "ud", playerid, 1, 2, 3, 4)) return SendClientMessage(playerid, -1, "[PMESP] Use: /darorg [ID] [ID ORG]");
}
else SendClientMessage(playerid, 0xFF0000AA, "[PMESP]{FFFFFF} Voce Nao E Um Policial Militar!");
return 1;
}
PHP Code:
new 1 = Profissao[playerid] = Groove;
new 2 = Profissao[playerid] = PCC;
new 3 = Profissao[playerid] = ComandoVermelho;
new 4 = Profissao[playerid] = Policial;