1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <easyDialog>
CMD:ayuda(playerid, params[])
{
Dialog_Show(playerid, Ayuda, DIALOG_STYLE_LIST, "Menú de Ayuda", "Comandos Generales\nInventario\nNegocios\nVehiculos\nOrganizaciones\nAdministrativos", "Seleccionar", "Cancelar");
return 1;
}
Dialog:Ayuda(playerid, response, listitem, inputtext[])
{
if (response)
{
switch (listitem)
{
case 0:
Dialog_Show(playerid, AyudaDialogo, DIALOG_STYLE_MSGBOX, "Comandos Generales", "{FF9F2A}/me /do /s(susurrar) /g(gritar) /mp(msj priv) /intentar(BETA) /b(OOC) /peaje /animaciones /duda /re[ID]", "Cerrar", "Atras");
case 1:
Dialog_Show(playerid, AyudaDialogo, DIALOG_STYLE_MSGBOX, "Inventario", "{FF9F2A}/sacar[Slot] /guardar [der-izq] /espalda /qespalda. IMPORTANTE:Preciona Y para ver tus bolsillos.", "Cerrar", "Atras");
case 2:
Dialog_Show(playerid, AyudaDialogo, DIALOG_STYLE_MSGBOX, "Negocios", "{FF9F2A}/comprarnegocio /vendernegocio /seguronegocio /menunegocio", "Cerrar", "Atras");
case 3:
Dialog_Show(playerid, AyudaDialogo, DIALOG_STYLE_MSGBOX, "Vehiculos", "{FF9F2A} /encender /apagar /luces /motor /amotor /desrentar", "Cerrar", "Atras");
case 4:
Dialog_Show(playerid, AyudaDialogo, DIALOG_STYLE_MSGBOX, "Organizaciones", "{FF9F2A} Proximamente", "Cerrar", "Atras");
case 5:
Dialog_Show(playerid, AyudaDialogo, DIALOG_STYLE_MSGBOX, "Comandos Administrativos", "{FF6347}Si eres administrador puedes utilizar /aduty o /ah.", "Cerrar", "Atras");
}
}
return 1;
}
Dialog:AyudaDialogo(playerid, response, listitem, inputtext[])
{
if (!response) cmd_ayuda(playerid, "\1");
return 1;
}