[Ajuda] /Tunar
#1

Como faзo para deixar esse comando para todos player poder usar:
pawn Код:
if (strcmp("/tunar", cmdtext, true, 10) == 0)
{
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(dini_Int(file, "Profissao") == Mecanico || dini_Int(file, "VIP") == 1 || dini_Int(file, "aAdmin") == 1 || IsPlayerAdmin(playerid) == 1){
ShowPlayerDialog(playerid, tunar, DIALOG_STYLE_LIST, "Tuning Menu", "Rodas\nCores\nPaintjobs\nNitro\nSuspensгo\nAutoTuning", "OK", "Cancelar");
return 1;
}
}
Reply
#2

Eu acho que й sу tirar esse negoзo de aAdmin ou colocar 0
Reply
#3

pawn Код:
if (strcmp("/tunar", cmdtext, true, 10) == 0){
           ShowPlayerDialog(playerid, tunar, DIALOG_STYLE_LIST, "Tuning Menu",              
           "Rodas\nCores\nPaintjobs\nNitro\nSuspensгo\nAutoTuning", "OK", "Cancelar");
return 1;
}
Reply
#4

Deu cert OBG
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)