/me errors
#1

2 errors

Quote:

C:\Documents and Settings\Administrator\Desktop\gta sa server\gamemodes\DDPDRIFT.pwn(6481) : error 017: undefined symbol "GetName"
C:\Documents and Settings\Administrator\Desktop\gta sa server\gamemodes\DDPDRIFT.pwn(6482) : error 017: undefined symbol "ProxDetector"

the code

pawn Код:
CMD:me(playerid, params[])
{
    new
        string[128],
        action[100];
    if(sscanf(params, "s[100]", action))
    {
        SendClientMessage(playerid, -1, "USAGE: /me [action]");
        return 1;
    }
    else
    {
        format(string, sizeof(string), "* %s %s", GetName(playerid), action);
        ProxDetector(30, playerid, string, COLOR_PURPLE);
    }
    return 1;
}
Reply


Messages In This Thread
/me errors - by xXitsgodzillaXx - 07.05.2012, 23:22
Re: /me errors - by ReneG - 07.05.2012, 23:24
Re: /me errors - by JaTochNietDan - 07.05.2012, 23:24
Re: /me errors - by xXitsgodzillaXx - 07.05.2012, 23:53
Re: /me errors - by JaTochNietDan - 08.05.2012, 00:01
Re: /me errors - by xXitsgodzillaXx - 08.05.2012, 00:07

Forum Jump:


Users browsing this thread: 1 Guest(s)