Jump to content
  • 0

Adaugare comanda[H. RP]


ImTouchk

Question

Problema intalnita (descriere):

Salut, inca mai am gm-ul lui @EquiNox care ruleaza insa pe windows, am reusit sa editez ceva, si am ajuns la cea mai grea parte: doresc sa adaug la factiunile tip:

#define FACTION_POLICE (1)
#define FACTION_NEWS (2)
#define FACTION_MEDIC (3)
#define FACTION_GOV (4)
#define FACTION_MECANIC (6)

(la mecanic eu am adaugat-o si merge) la fiecare masina d'alor cate un textdraw cum e pe RO-RP, o unitate. Totusi n-am reusit. Asi dori sa-l fac pentru F.MOD si sa fie dinamic, sa se salveze in baza. Ceva gen: /createunity [factiune masina] [id masina] [nume unitate] si sa adauge in mijloc un textdraw permanent cu spatiul de la nume unitate. Multumesc mult.

Eroare warnuri/erori: -
Liniile de cod / sursa / script-ul(obligatoriu): Nu este nevoie.
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da, no way.

 

PS: Ma refeream sa mearga numai la tipurile alea, nu si la gang sau news.

Apropo, daca s-ar putea va rog si o comanda /deleteunity daca se poate.


Multumesc mult!

Edited by ImTouchk

:D

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.