Getting some error while compiling ??
#1

Hey there i get an error which is unknown to me so that i need help of you guys.
pawn Код:
public OnPlayerCommandPerformed(playerid, success)
{
    new string[128];
    format(string, sizeof(string), "[cmd] [%s]: %s", SenderName, result); // this line is buggy.
    print(string);
        if(!success)
    {
        SendClientMessage(playerid, COLOR_GREY, "** Sorry you have entered a command that doesnt exist.");
    }

    return 1;
}
It says invalid function call i have marked the line where i get error.
Reply


Messages In This Thread
Getting some error while compiling ?? - by Laure - 11.04.2014, 11:02
Re: Getting some error while compiling ?? - by Scottas - 11.04.2014, 11:05
Re: Getting some error while compiling ?? - by Equuuuin0X - 11.04.2014, 11:05
Re: Getting some error while compiling ?? - by Laure - 11.04.2014, 11:06
Re: Getting some error while compiling ?? - by Hanuman - 11.04.2014, 11:09
Re: Getting some error while compiling ?? - by Laure - 11.04.2014, 11:12
Re: Getting some error while compiling ?? - by Hanuman - 11.04.2014, 11:13
Re: Getting some error while compiling ?? - by Bingo - 11.04.2014, 11:14
Re: Getting some error while compiling ?? - by Konstantinos - 11.04.2014, 11:14
Re: Getting some error while compiling ?? - by Laure - 11.04.2014, 11:17

Forum Jump:


Users browsing this thread: 3 Guest(s)