warning 202: number of arguments does not match definition
#1

GetPlayerName(id, giveplayer, sizeof(giveplayer));
GetPlayerPos(id, slx, sly, slz);
SetPlayerPos(id, slx, sly, slz+5);
format(string, sizeof(string), "[AdmCmd]: %s was slaped by Server BOT, reason: Possible speed hack", sendername);
ABroadCast(COLOR_RED2, string);
}


LINIE: ABroadCast(COLOR_RED2, string);

WARNING: warning 202: number of arguments does not match definition
Reply
#2

show the stock for ABroadCast.
As i know in GF, you should specify the admin level to show the messages to the admins who are equal to or greater than that level like :

Код:
ABroadCast(COLOR_RED2, string, 1);//here 1 is the admin level
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)