SendClientMessageToAll errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SendClientMessageToAll errors (
/showthread.php?tid=643292)
SendClientMessageToAll errors -
Gogorakis - 16.10.2017
I know it's simple but I'm just learning.
Код:
SendClientMessageToAll(COLOR_DUTY, "[ANN]: %s is now on administrator duty!",GetAdminName(playerid));
Why do I get this error on this line?
Код:
C:\Users\gregorikouk\Desktop\x\gamemodes\x.pwn(11483) : warning 202: number of arguments does not match definition
Re: SendClientMessageToAll errors -
Lokii - 16.10.2017
Quote:
Originally Posted by Gogorakis
I know it's simple but I'm just learning.
Код:
SendClientMessageToAll(COLOR_DUTY, "[ANN]: %s is now on administrator duty!",GetAdminName(playerid));
Why do I get this error on this line?
Код:
C:\Users\gregorikouk\Desktop\x\gamemodes\x.pwn(11483) : warning 202: number of arguments does not match definition
|
PHP код:
new str[80];
format(str, sizeof(str), "[ANN]: %s is now on administrator duty!",GetAdminName(playerid));
SendClientMessageToAll(COLOR_DUTY, str);
Re: SendClientMessageToAll errors -
Gogorakis - 16.10.2017
Quote:
Originally Posted by Lokii
PHP код:
new str[80];
format(str, sizeof(str), "[ANN]: %s is now on administrator duty!",GetAdminName(playerid));
SendClientMessageToAll(COLOR_DUTY, str);
|
Thank you. Really appreciate it.