Jump to content
  • 0

O mica problema


Kiran

Question

4 answers to this question

Recommended Posts

  • 0

6863 : warning 202: number of arguments does not match definition          SCM(playerid, -1, "Ai trezit pe %s si s-a pus pe umarul tau",PlayerInfo[playerid][pPetName]);

6871 : warning 202: number of arguments does not match definition           SCM(playerid, -1, "Ai trimis pe %s la culcare", PlayerInfo[playerid][pPetName]);

6892 : warning 202: number of arguments does not match definition         SCM(playerid, -1, "Acum pet-ul tau are level %d", PlayerInfo[playerid][pPetLevel]);

6908 : warning 202: number of arguments does not match definition           SCM(playerid, -1, "Ai schimbat numele pet-ului in %s",PlayerInfo[playerid][pPetName])

10819 : warning 202: number of arguments does not match definition          SCM(playerid, -1, "Felicitari %s ti-ai cumparat un pet pentru suma de 60 Premium Points!",GetName(playerid));

12041 : warning 202: number of arguments does not match definition          SCM(playerid, COLOR_YELLOW, "* Nivelul animalului tau de companie este: {FF1302}%d.{FFFFFF}",PlayerInfo[playerid][pPetLevel]);

12042 : warning 202: number of arguments does not match definition          SCM(playerid, COLOR_YELLOW, "Pentru al avansa trebuie sa detii 120 pet points, tu ai: {FF1302}%d.{FFFFFF}", PlayerInfo[playerid][pPetPoints])

33454 : warning 202: number of arguments does not match definition          if(PlayerInfo[pPetLevel] < 3) {SCM(i, COLOR_YELLOW, "Deoarece pet-ul tau are level %d ai primit +1RP",PlayerInfo[pPetLevel]);}

33455 : warning 202: number of arguments does not match definition          else SCM(i, COLOR_YELLOW, "Ai primit +2 RP si $%s deoarece pet-ul tau are level %d", PlayerInfo[pPetLevel]);
 

Ares4  =(

 

 

Link to comment
Share on other sites

  • 0
Acum 1 oră, Kiran a spus:

6863 : warning 202: number of arguments does not match definition          SCM(playerid, -1, "Ai trezit pe %s si s-a pus pe umarul tau",PlayerInfo[playerid][pPetName]);

6871 : warning 202: number of arguments does not match definition           SCM(playerid, -1, "Ai trimis pe %s la culcare", PlayerInfo[playerid][pPetName]);

6892 : warning 202: number of arguments does not match definition         SCM(playerid, -1, "Acum pet-ul tau are level %d", PlayerInfo[playerid][pPetLevel]);

6908 : warning 202: number of arguments does not match definition           SCM(playerid, -1, "Ai schimbat numele pet-ului in %s",PlayerInfo[playerid][pPetName])

10819 : warning 202: number of arguments does not match definition          SCM(playerid, -1, "Felicitari %s ti-ai cumparat un pet pentru suma de 60 Premium Points!",GetName(playerid));

12041 : warning 202: number of arguments does not match definition          SCM(playerid, COLOR_YELLOW, "* Nivelul animalului tau de companie este: {FF1302}%d.{FFFFFF}",PlayerInfo[playerid][pPetLevel]);

12042 : warning 202: number of arguments does not match definition          SCM(playerid, COLOR_YELLOW, "Pentru al avansa trebuie sa detii 120 pet points, tu ai: {FF1302}%d.{FFFFFF}", PlayerInfo[playerid][pPetPoints])

33454 : warning 202: number of arguments does not match definition          if(PlayerInfo[pPetLevel] < 3) {SCM(i, COLOR_YELLOW, "Deoarece pet-ul tau are level %d ai primit +1RP",PlayerInfo[pPetLevel]);}

33455 : warning 202: number of arguments does not match definition          else SCM(i, COLOR_YELLOW, "Ai primit +2 RP si $%s deoarece pet-ul tau are level %d", PlayerInfo[pPetLevel]);
 

SCM(playerid,culoare,mesaj)

Pt a folosi variabile foloseste format.Exemplu.

//ai nevoie de un string

new string[260];

format(string,sizeof(string),"Ai %s bani cash",FormatNumber(GetPlayerCash(playerid)));

SCM(playerid,-1,string);

Cel mai probabil de unde ai copiat sistemul, SCM nu era definit ca SendClientMessage ci formata mesajul si dupa apela functia SendClientMessage

Edited by valivaly96
  • Thanks 1
Link to comment
Share on other sites

  • 0
Acum 3 minute, valivaly96 a spus:

SCM(playerid,culoare,mesaj)

Pt a folosi variabile foloseste format.Exemplu.

//ai nevoie de un string

new string[260];

format(string,sizeof(string),"Ai %s bani cash",FormatNumber(GetPlayerCash(playerid)));

SCM(playerid,-1,string);

Multumesc.

Ares4  =(

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.