26.08.2013, 00:20
Quote:
Utiliza la condicional if para hacer eso. |
Quote:
zcmd(menu, playerid, params[]){ if(Team_Mecanicos(playerid)) { if(OnDuty[playerid] == 0) return SendClientMessageEx(playerid, COLOR_GRAD2, "No estбs de servicio!"); return SafeDialogEx(playerid, MECANICO_MENU, DIALOG_STYLE_LIST, "Menъ", "Repararaciones\nGasolina\nTunning", ">>", "<<"); } else SendClientMessageEx(playerid, COLOR_GRAD2, "No eres mecбnico!"); return 1; } |
Digamos, pongo algo como "loadfs tuneodialog.amx" ?
help