[Ajuda] /Comando ID
#3

Код:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 // TOPO
Final:
Код:
dcmd_comando(playerid,params[])
{
   new id; id = strval(params);
    // resto do comando
   return 1;
}
Noзгo basica desse tipo de comando.
Reply


Messages In This Thread
[Ajuda] /Comando ID - by >Ryder< - 01.12.2010, 23:44
Re: [Ajuda] /Comando ID - by [Ips]Guh - 01.12.2010, 23:46
Re: [Ajuda] /Comando ID - by blackwave - 01.12.2010, 23:59
Re: [Ajuda] /Comando ID - by ipsBruno - 02.12.2010, 01:36
Re: [Ajuda] /Comando ID - by Rodrigo_LosT - 02.12.2010, 02:59
Re: [Ajuda] /Comando ID - by Falcon. - 02.12.2010, 12:30
Re: [Ajuda] /Comando ID - by blackwave - 02.12.2010, 12:36
Re: [Ajuda] /Comando ID - by SlashPT - 02.12.2010, 20:18
Re: [Ajuda] /Comando ID - by ipsBruno - 02.12.2010, 21:18
Re: [Ajuda] /Comando ID - by Rodrigo_LosT - 02.12.2010, 21:20

Forum Jump:


Users browsing this thread: 2 Guest(s)