Jump to content

Question

4 answers to this question

Recommended Posts

  • 0
Posted

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  =(

 

 

  • 0
Posted (edited)
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
  • 0
Posted
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  =(

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.