23.03.2019, 16:55
Just made this quick function when executing a command with params:
SCMEX = SendClientMessageEx.
In a command:
Got this error:
warning 209: function "SendUsageMessage" should return a value
pawn Code:
stock SendUsageMessage(playerid, message[])
{
SCMEX(playerid, COLOR_BELGREEN, "» [USAGE]: %s", message);
}
In a command:
pawn Code:
if(sscanf(params,"r", id)) return SendUsageMessage(playerid, "/spec [playerid/name]");
warning 209: function "SendUsageMessage" should return a value