Jump to content

[REZOLVAT] Problema comanda /areaheal


fkbarca
 Share

Recommended Posts

Acum 1 minut, VLM a spus:


Acea eroare o primesti acum aici, daca nu ma insel: if(sscanf(params, "i", range))

Incearca sa pui if(sscanf(params, "ii", range))

 

O primesc aici: 

GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "AdmBot: Toti jucatorii aflati in regiunea de %d metri, au primit heal de la admin-ul %s.",range,sendername);
// AICI            SendClientMessage(i,COLOR_NEWS,string);

Link to comment
Share on other sites

Acum 2 minute, VLM a spus:


Acea eroare o primesti acum aici, daca nu ma insel: if(sscanf(params, "i", range))

Incearca sa pui if(sscanf(params, "ii", range))

 

cand ai o singura litera in " " inseamna ca si dupa ele tot o variabila ai..
nu ai cum sa ai "ii" si doar o variabila range

Link to comment
Share on other sites

Acum 2 minute, fkbarca a spus:

O primesc aici: 

GetPlayerName(playerid, sendername, sizeof(sendername));
              format(string, sizeof(string), "AdmBot: Toti jucatorii aflati in regiunea de %d metri, au primit heal de la admin-ul %s.",range,sendername);
// AICI            SendClientMessage(i,COLOR_NEWS,string);

Pune in loc de SendClientMessage(i, COLOR_NEWS, string) pune SendClientMessageToAll(COLOR_NEWS, string);

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...