Jump to content
  • 0

Culoare factiuni


i0nut13

Question

6 answers to this question

Recommended Posts

  • 0

culorile sunt reprezentate in format hexazecimal, sub forma RRGGBB in cazul dialogurilor, ca sa pui o culoare intr-un dialog trebuie sa pui codul culorii intre {}, ex: "{FF0000}Los Santos Police Department" unde FF0000 este culoarea rosu care va fi aplicata pentru restul caracterelor care sunt in fata culorii, ai color picker pe net, arata si codul care se executa cand trimiti comanda /factions sa vedem mai exact despre ce e vorba.

Edited by Sancky
Link to comment
Share on other sites

  • 0

daca ai comanda factions dynamica, factiunile dynamice ma refer pe iterator, poti face asa:

creezi o "variabila" numita oricum
new culorifactiuni[][] = { 
    "culoare hex", aici e civil intodeauna
    "culaorehex factiune 1" 

};
iar la factions, la dialog inainte de numele factiuniei "%s " adaugi asta {%s} si  ar trebui sa arate asa" {%s} %s", la inceput, culorifactiuni[iterator] definit pentru factiuni in factions. spor!

Edited by DanielSy

 

 

Link to comment
Share on other sites

  • 0
11 minutes ago, DanielSy said:

daca ai comanda factions dynamica, factiunile dynamice ma refer pe iterator, poti face asa:

creezi o "variabila" numita oricum
new culorifactiuni[][] = { 
    "culoare hex", aici e civil intodeauna
    "culaorehex factiune 1" 

};
iar la factions, la dialog inainte de numele factiuniei "%s " adaugi asta {%s} si  ar trebui sa arate asa" {%s} %s", la inceput, culorifactiuni[iterator] definit pentru factiuni in factions. spor!

descrcare(1).jpeg.5165a5723b7a1c49af47bbf76b396c0d.jpeg

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.