/report command help
#3

It should be:
pawn Code:
if (sscanf(params, "rs[128]", giveplayerid, text)) return SendClientMessage(playerid, COLOR_GRAD2, "Usage: /report [id] [reason]");
// Specifier "s" needs the size and it becomes: "s[size_here]".
And this function has 3 parameters and you have only 2 here. Change to:
pawn Code:
if( giveplayerid != INVALID_PLAYER_ID ) SendReportToQue(playerid, giveplayerid, text);
Reply


Messages In This Thread
/report command help - by damian123 - 29.08.2013, 15:54
Re: /report command help - by Dragonsaurus - 29.08.2013, 16:02
Re: /report command help - by Konstantinos - 29.08.2013, 16:16
Re: /report command help - by damian123 - 29.08.2013, 16:25
Re: /report command help - by Konstantinos - 29.08.2013, 16:28
Re: /report command help - by Dragonsaurus - 29.08.2013, 16:29
Re: /report command help - by damian123 - 29.08.2013, 16:32
Re: /report command help - by damian123 - 29.08.2013, 16:42
Re: /report command help - by Konstantinos - 29.08.2013, 16:45
Re: /report command help - by damian123 - 29.08.2013, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)