[Ajuda] Comandos
#4

cria em dcmd

Topo GM:
pawn Код:
#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
OnPlayerCommandText:
pawn Код:
dcmd(ajuda, 5, cmdtext);
Fim GM:
pawn Код:
dcmd_ajuda(playerid, params[])
{
     #pragma unused params
     SendClientMessage(playerid, 0xFFFFFF, "Este GameMode й um GameMoed de TeamDeath Match, nunca faзa Team Kill",);
     SendClientMessage(playerid, 0xFFFFFF, "Seu objetivo aqui й matar o maior numero de vezes possivel o time inimigo");
     SendClientMessage(playerid, 0xFFFFFF, "Morrendo o minimo de vezes possiveis");
     SendClientMessage(playerid, 0xFFFFFF, "Comandos existentes:");
     SendClientMessage(playerid, 0xFFFFFF"/status - Mostra seus status em jogo");
     return 0x1;
}
Reply


Messages In This Thread
[Ajuda] Comandos - by urinol123 - 09.07.2011, 02:37
Re: [Ajuda] Comandos - by Dark.Angel - 09.07.2011, 02:42
Re: [Ajuda] Comandos - by Ricop522 - 09.07.2011, 02:47
Re: [Ajuda] Comandos - by Macintosh - 09.07.2011, 02:49
Re: [Ajuda] Comandos - by urinol123 - 09.07.2011, 02:55
Re: [Ajuda] Comandos - by Ricop522 - 09.07.2011, 03:02
Re: [Ajuda] Comandos - by urinol123 - 09.07.2011, 03:04
Re: [Ajuda] Comandos - by Andrew_Guiga - 09.07.2011, 03:07
Re: [Ajuda] Comandos - by urinol123 - 09.07.2011, 03:09
Re: [Ajuda] Comandos - by Macintosh - 09.07.2011, 04:48

Forum Jump:


Users browsing this thread: 1 Guest(s)