Jump to content

Question

6 answers to this question

Recommended Posts

  • 0
Posted (edited)

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

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

 

 

  • 0
Posted
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

  • 0
Posted
On 5/13/2023 at 7:14 PM, DanielSy said:

a fost ceva gresit mister Sancky si nu stiu eu ? :P 

nu neaparat ca ai fi gresit ceva, da nu prea iti intelege nimeni explicatiile

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.