30.04.2018, 20:47
Nгo tem essa callback
achei essa
;~;
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(success)
{
cmdlog(playerid,cmdtext);
}
else
{
new gstring[128];
format(gstring, sizeof(gstring), "[!] {FFFFFF} O comando ({33ccff}%s{FFFFFF}) que vocк digitou nгo existe no servidor, use: {FF8C00}/ajuda", cmdtext);
SendClientMessage(playerid, 0xFF0000AA, gstring);
//SendClientMessage(playerid, COLOR_LIGHTRED, "{FF0000}[!] {FFFFFF}Use o comando {00FBFF}/duvida {FFFFFF}ou {00FBFF}/atendimento{FFFFFF} para pedir ajuda a um admin/helper!");
}
return 1;
}
achei essa
;~;
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(success)
{
cmdlog(playerid,cmdtext);
}
else
{
new gstring[128];
format(gstring, sizeof(gstring), "[!] {FFFFFF} O comando ({33ccff}%s{FFFFFF}) que vocк digitou nгo existe no servidor, use: {FF8C00}/ajuda", cmdtext);
SendClientMessage(playerid, 0xFF0000AA, gstring);
//SendClientMessage(playerid, COLOR_LIGHTRED, "{FF0000}[!] {FFFFFF}Use o comando {00FBFF}/duvida {FFFFFF}ou {00FBFF}/atendimento{FFFFFF} para pedir ajuda a um admin/helper!");
}
return 1;
}