#define M_CMDSUCESSFUL 1
#define M_TPADMIN 2
SendMessage(playerid, M_CMDSUCESSFUL); //<---funciona normal
SendMessage(playerid, M_TPADMIN, "O Scripter","RazorG", 0,"Will", 1,"RazorG",0); //<--- buga o server
public SendMessage(playerid, messageid,{Float,_}:...)
{
/*
new argumentos = numargs();
new F[15][100];
for(new i = 2; i < argumentos; i++)
{
for(new c; c < 100; c++)
{
F[i][c] = getarg(i, c);
}
}
Tentativa pelo tutorial q o RiqueP me passou
*/
if(uma condiзгo qualquer ^^)
{
switch(messageid)
{
case M_CMDSUCESSFUL: return SendClientMessage(playerid, CMD_OK, "Comando efetuado com sucesso!");
case M_TPADMIN: return SendClientMessageF(playerid, cmdadm,"%s %s (%d) teleportou %s (%d) na posiзгo de %s (%d)!",/*n sei o q coloco aqui*/);
}
}
return 0;
}
[11:24:12] [CHAT] -> [Scripter] RazorG [0]: esse й o meu CHAT! [11:24:34] [CHAT] -> [Scripter] RazorG [0]: [byRazorG] [11:24:44] [CMD] RazorG (ID: 0) digitou o comando ( /ir raz raz ). [11:24:55] [chat] [RazorG]: este aki й o chat padrao [11:25:04] [chat] [RazorG]: sumiu o meu ;-; |
SendClientMessageEx(playerid, colour, format[], va_args<>)
{
new
out[128];
va_format(out, sizeof (out), format, va_start<3>);
SendClientMessage(playerid, colour, out);
}