Need some /do help
#1

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

Here are the errors:
Код:
C:\Users\user\Desktop\KM\pawno\KM.pwn(1499) : error 076: syntax error in the expression, or invalid function call
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Please Help
Reply


Messages In This Thread
Need some /do help - by nogh445 - 16.06.2012, 07:48
Re: Need some /do help - by Nicks - 16.06.2012, 08:30
Re: Need some /do help - by ReneG - 16.06.2012, 08:33
Re: Need some /do help - by ikey07 - 16.06.2012, 08:35
Re: Need some /do help - by ReneG - 16.06.2012, 08:37

Forum Jump:


Users browsing this thread: 1 Guest(s)