[SOLVED] Format(etc.
#1

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
Reply
#2

Error is probally above those lines.
Reply
#3

No, that's the strangest thing about it.
Reply
#4

It's the "GetPlayerName" function.
Reply
#5

Quote:
Originally Posted by Donny
It's the "GetPlayerName" function.
fixed, thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)