SendClientMessageToAll doesnt work
#1

Just started a fresh script, starting with OnPlayerText

pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[128];
    format(string, sizeof(string), "%s(%s): %s", GetPlayerName(playerid), GetPlayerID(playerid), text);
    SendClientMessageToAll(COLOR_WHITE, string);
    return 1;
}
It gives me these:
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
error 035: argument type mismatch (argument 1)

From the format line.
Reply


Messages In This Thread
SendClientMessageToAll doesnt work - by CalvinC - 27.12.2014, 12:56
Re: SendClientMessageToAll doesnt work - by jackx3rx - 27.12.2014, 12:57
Re: SendClientMessageToAll doesnt work - by Glossy42O - 27.12.2014, 12:58
Re: SendClientMessageToAll doesnt work - by CalvinC - 27.12.2014, 13:05
Re: SendClientMessageToAll doesnt work - by jackx3rx - 27.12.2014, 13:15
Re: SendClientMessageToAll doesnt work - by CalvinC - 27.12.2014, 13:33
Re: SendClientMessageToAll doesnt work - by jackx3rx - 27.12.2014, 13:36
Re: SendClientMessageToAll doesnt work - by CalvinC - 27.12.2014, 14:20
Re: SendClientMessageToAll doesnt work - by JaydenJason - 27.12.2014, 14:26
Re: SendClientMessageToAll doesnt work - by Facerafter - 27.12.2014, 14:29

Forum Jump:


Users browsing this thread: 6 Guest(s)