Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Nu apare tot textul in chat.


Question

Posted

Problema intalnita (descriere): Nu imi scrie tot textul
Ero(area / rile) / warning-(ul / urile):Nu am
Liniile de cod / sursa / script-ul(obligatoriu):   

	format(string, sizeof(string), "{FFFF00}AdmWarning: {009966} I-ai dat lui %s %d bani.", GetName(playa), money);
	SCM(playerid, -1, string);
	format(string2, sizeof(string2), "{FFFF00}AdmWarning: {009966}Administratorul {FF0000} %s {009966} ti-a oferit %d bani .", GetName(playerid), money);
	SCM(playa, -1, string2);
	format(string, sizeof(string), "AdmWarning:{009966} %s i-a dat lui %s %d bani. (/sethelper)",GetName(playerid), GetName(playa), money);
	submitToHelpersAndAdmins(string, COLOR_STAFF);


Imagini / Video (optional):http://imgur.com/SaHY3oZ
Ati incercat sa rezolvati singur?: Da, dar nu mi-a reusit..

 

Daca aveti nevoie de alte detalii, uitati toata comanda aici 

CMD:givemoney(playerid,params[])
{
	if(!EsteManager(playerid))
 			return SCM(playerid, COLOR_FAIL, "Nu esti autorizat sa folosesti aceasta comanda");
 			
    new playa, money, string[60], string2[60];//
    
    if(sscanf(params,"ud", playa, money))
            return SCM(playerid, COLOR_GREY, "Foloseste: /givemoney [playerid/PartOfName] [money]");

    if(playa == INVALID_PLAYER_ID)
            return SCM(playerid, COLOR_FAIL, "jucatorul nu este conectat");

	P_Data[playa][pCash] += money;
	Update(playa, CashU);
	format(string, sizeof(string), "{FFFF00}AdmWarning: {009966} I-ai dat lui %s %d bani.", GetName(playa), money);
	SCM(playerid, -1, string);
	format(string2, sizeof(string2), "{FFFF00}AdmWarning: {009966}Administratorul {FF0000} %s {009966} ti-a oferit %d bani .", GetName(playerid), money);
	SCM(playa, -1, string2);
	format(string, sizeof(string), "AdmWarning:{009966} %s i-a dat lui %s %d bani. (/sethelper)",GetName(playerid), GetName(playa), money);
	submitToHelpersAndAdmins(string, COLOR_STAFF);

    return GivePlayerMoney(playa, money);

}

 

<a href="http://www.game-state.eu/89.33.242.212:7777/"><img src="http://www.game-state.eu/89.33.242.212:7777/350x20_FFFFFF_FFFFFF_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

3 answers to this question

Recommended Posts

  • 0
Posted

cele 60 de caractere de la string nu sunt suficiente, e nevoie sa le maresti ca sa iti apara tot textul. Si aceste culori '{FF0000}' se considera caractere.

  • 0
Posted

rezolvat, multumesc frumos

 

tc

<a href="http://www.game-state.eu/89.33.242.212:7777/"><img src="http://www.game-state.eu/89.33.242.212:7777/350x20_FFFFFF_FFFFFF_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

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.