Jump to content

[0.3c] - Cum sa folosesti culorile intr-un mesaj.


Guest PlayON

Recommended Posts

Guest PlayON

Neonkiller" post="49638" timestamp="1293975611"]

incearca asta
format(coordsstring, sizeof(coordsstring), ""CREM"Level:"BLUE"[%d]"CREM" Sex:"BLUE"[%s]"CREM" Age:"BLUE"[%d]"CREM" Origin:"BLUE"[%s]"CREM" SpawnHealth:"BLUE"[%.1f]"CREM" Cash:"BLUE"[%s]"CREM" Bank "BLUE"[%s]"CREM" Ph:"BLUE"[%d]"CREM"", level,atext,age,otext,shealth+50, FormatMoney(cash), FormatMoney(account), pnumber);
		SendClientMessage(playerid, -1,coordsstring); 

scuzama daca nu merge , is foarte obosit

Pentru ca folosind culorile RGB ocupa deja 8 caractere dintr-un string.

SI max intr-un string e de 129 pentru chat.

Link to comment
Share on other sites

  • 3 weeks later...
  • Replies 55
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

Foarte interesanta chestia ... am testat`o si eu si functioneaza.

Am observat ceva, la tine in exemplu, ai pus: "#COL_WHITE" dar din cate am testat eu, se poate si fara '#' (diez), adica se poate pune doar: "COL_WHITE". Este vreo diferenta intre ele si n`am observat eu sau e tot una ?

Oricum, multam fain de tutorial, ai facut o treaba buna.

Link to comment
Share on other sites

  • 2 weeks later...

scuzati ca ma bag aiurea si o sa radeti

Dar  cum pot face si eu ? Bag alea in pawno?

Ca la download ma baga pe siteul ala de cauta singur pe goagal.

Da ba asa e, te da pe ''Goagal'' sa cauti tu singur Color Picker, bagi alea in GM si le folosesti cum ti-am spus.

Link to comment
Share on other sites

  • 1 month later...
Guest PlayON

stuntman-=!!" post="66558" timestamp="1302880445"]

flying_pig.jpg

Nu vrei sa ne dea tot calculatorul lui mai bine ?

PS: Pana acum mi se parea aiurea aia cu COL_BLUE, COL_RED, etc ... dar acum cred ca o sa le folosesc ^^

Facand asa poti folosi aceasi culoare oriunde si o schimbi doar dintr-un loc, adica din #define, simplu.

0Admin foloseste doar 4 culori, GREY, ORANGE, GREEN si BLUE, dar nu culori turbate, ci linistite!

Link to comment
Share on other sites

Guest PlayON

Merge si la "GameTextForPlayer" ?

Nu. Acolo doar ~r~ ~g~ ~b~ ~y~ ~p~ ...

Dar poti deschide o culoare cu ~h~

Exemplu:

Deschis

~r~~h~

~r~~h~~h~

Si mai deschis

Daca tot repeti ~h~ devine alb.

Link to comment
Share on other sites

Nu. Acolo doar ~r~ ~g~ ~b~ ~y~ ~p~ ...

Dar poti deschide o culoare cu ~h~

Exemplu:

Deschis

~r~~h~

~r~~h~~h~

Si mai deschis

Daca tot repeti ~h~ devine alb.

Aha nu stiam ca cu ~h~ se face mai deschisa culoarea de obicei cand puneam ~l~ adica negru nu se intelegea nimic , ms !

Link to comment
Share on other sites

Guest PlayON

Aha nu stiam ca cu ~h~ se face mai deschisa culoarea de obicei cand puneam ~l~ adica negru nu se intelegea nimic , ms !

Asta e,  cu negru nu merge, a zis-o pe Wiki.  :smiley:

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

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

Guest
Reply to this topic...

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