help me pls
#1

Hi guys can you help me to resolve this error:

warning 202: number of arguments does not match definition



Script:

CMD:b(playerid, params[])
{
if (isnull(params)) return SendClientMessage(playerid, -1, "{C0C0C0}USAGE: /b < message >");

new Float:X, Float:Y, Float:Z, String[128], Name[25];

GetPlayerPos(playerid, X, Y, Z);
GetPlayerName(playerid, Name, 25);

format(String, 128, "(( [%d] %s: %s ))", playerid, Name, params);

for(new i = 0; i < MAX_PLAYERS; i++)
{
if (IsPlayerInRangeOfPoint(i, X, Y, Z))
{
SendClientMessage(playerid, 0xC0C0C0FF, String);
}
}

return true;
}
Reply


Messages In This Thread
help me pls - by kevi11 - 01.09.2018, 10:17
Re: help me pls - by kevi11 - 01.09.2018, 11:49
Re: help me pls - by Lokii - 01.09.2018, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)