[SOLVED] Format(etc. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED] Format(etc. (
/showthread.php?tid=115415)
[SOLVED] Format(etc. -
KnooL - 23.12.2009
pawn Код:
new string[64],
string1[64];
format(string,sizeof(string),"[SUCCESFULL] You have succesfully made %s [ID: %d] admin level %d",GetPlayerName(id),id,level);
format(string1,sizeof(string1),"[CONGRATULATIONS] You have been succesfully made admin level %d by admin %s [ID: %d]",level,GetPlayerName(playerid),playerid);
SendClientMessage(playerid,GREEN,string);
SendClientMessage(playerid,GREEN,string1);
C:\Server\gamemodes\beta.pwn(105) : warning 202: number of arguments does not match definition
C:\Server\gamemodes\beta.pwn(105) : warning 202: number of arguments does not match definition
C:\Server\gamemodes\beta.pwn(106) : warning 202: number of arguments does not match definition
C:\Server\gamemodes\beta.pwn(106) : warning 202: number of arguments does not match definition
Re: [NOT SOLVED] Format(etc. -
LarzI - 23.12.2009
Error is probally above those lines.
Re: [NOT SOLVED] Format(etc. -
KnooL - 23.12.2009
No, that's the strangest thing about it.
Re: [NOT SOLVED] Format(etc. -
Donny_k - 23.12.2009
It's the "GetPlayerName" function.
Re: [NOT SOLVED] Format(etc. -
KnooL - 23.12.2009
Quote:
Originally Posted by Donny
It's the "GetPlayerName" function.
|
fixed, thank you