SA-MP Forums Archive
ZCMD alias problem. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ZCMD alias problem. (/showthread.php?tid=578337)



ZCMD alias problem. - alanhutch - 18.06.2015

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)


Re: ZCMD alias problem. - alanhutch - 18.06.2015

Resolved.