ZCMD alias problem.
#1

Hi all.
I have this script
pawn Код:
COMMAND:grida(playerid, params[])
{
 new messaggio[126], string[256];
    if(!gIsPlayerLoggedIn[playerid]) return SendNotLoggedInMessage(playerid);
    if(sscanf(params, "us[126]", messaggio)) return SendClientMessage(playerid, COLOR_SEABLUE, "{999999}Uso:{FFFFFF} /b [chat locale OOC]");
    format(string, sizeof(string), "%s grida: %s!", GetPlayersName(playerid), messaggio);
    ProxDetector(20, playerid, string, 0xE6E6E6E6, 0xC8C8C8C8, 0xAAAAAAAA, 0x8C8C8C8C, 0x6E6E6E6E);
    return 1;
}
COMMAND:g(playerid, params[])
{
return cmd_grida(playerid, params);
}
But when I compile it says
Код:
error 017: undefined symbol "cmd_grida"
.
What can I do? Other commands are working perfectly. (Without alias)
Reply
#2

Resolved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)