Argument type mismatch (argument 1)
#1

I'm getting the Argument type mismatch (argument 1) error on this piece of code, specifically the "SendClientMessageToAll line. I can't figure out what's wrong with it.
Код:
CMD:O(playerid, params[])
{
	new sendername[MAX_PLAYER_NAME], string[128];
	GetPlayerName(playerid, sendername, sizeof(sendername));
	format(string, sizeof(string), "(( %s: %s ))", sendername, params);
	SendClientMessageToAll(COL_LIGHTBLUE, string);
	return 1;
}
Can anyone tell me what's wrong with it? Any help is appreciated, thanks.
Reply


Messages In This Thread
Argument type mismatch (argument 1) - by Diego_Martinz - 05.05.2013, 18:25
Re: Argument type mismatch (argument 1) - by MattyG - 05.05.2013, 18:29
Re: Argument type mismatch (argument 1) - by Diego_Martinz - 05.05.2013, 18:32
Re: Argument type mismatch (argument 1) - by OpticKiller - 05.05.2013, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)