Jump to content
  • 0

Problema warning (number of argm. does not match definition)


Rayan

Question

Problema intalnita (descriere): Imi da aceasta erroare "warning 202: number of arguments does not match definition" si nu stiu de ce, totul pare normal la linia respectiva.
Ero(area / rile) / warning-(ul / urile): "warning 202: number of arguments does not match definition"
Liniile de cod / sursa / script-ul(obligatoriu): 

else return SendClientMessage(playerid, COLOR_ERROR, "This command can used in %d seconds.", PlayerInfo[playerid][pCmdTimeout]);

Imagini / Video (optional):-
Ati incercat sa rezolvati singur?: Nu prea stiu cum as putea face asta, de aceea am postat.
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Nu acestia sunt parametrii functiei

SendClientMessage(playerid, COLOR_ERROR, "This command can used in %d seconds.", PlayerInfo[playerid][pCmdTimeout]);

Inlocuieste cu asta

New str[128];
format(str2, sizeof str2, "This command can used in %d seconds.", PlayerInfo[playerid][pCmdTimeout]);

SendClientMessage(playerid, COLOR_ERROR,str2);
  • Upvote 1

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
22 minutes ago, Mister said:

Nu acestia sunt parametrii functiei


SendClientMessage(playerid, COLOR_ERROR, "This command can used in %d seconds.", PlayerInfo[playerid][pCmdTimeout]);

Inlocuieste cu asta


New str[128];
format(str2, sizeof str2, "This command can used in %d seconds.", PlayerInfo[playerid][pCmdTimeout]);

SendClientMessage(playerid, COLOR_ERROR,str2);

solved, am uitat chestia asta:D.

Mersi!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.