Jump to content

SetPlayerWantedLevel


Domnu.MC

Recommended Posts

As vrea sa fac si eu comanda "/su" pentru a da wanted unui player doar ca as vrea tot in acelasi timp sa nu isi piarda nici wanted-ul pe care il are. Ca un exemplu, daca playerul are wanted 2 eu daca dau "/su id <<player id>>  <<2(wanted)>>", dupa ce aplic aceasta comanda lui sa i se dea inca doua stele in plus pentru a ajunge la wanted 4! Sper ca m-am exprimat destul de bine!

Link to comment
Share on other sites

1 hour ago, Domnu.MC said:

As vrea sa fac si eu comanda "/su" pentru a da wanted unui player doar ca as vrea tot in acelasi timp sa nu isi piarda nici wanted-ul pe care il are. Ca un exemplu, daca playerul are wanted 2 eu daca dau "/su id <<player id>>  <<2(wanted)>>", dupa ce aplic aceasta comanda lui sa i se dea inca doua stele in plus pentru a ajunge la wanted 4! Sper ca m-am exprimat destul de bine!

poti face ca in momentul acordarii wanted-ului sa scazi din numarul actual de stele numarul acordat si sa i le adaugi pe alea, de exemplu daca are wanted 2, faci 4-2=2=>wanted 2+2=4, asta am inteles eu ca vrei sa faci, daca are 4 si sa zicem ca i se acorda tot 4 va fii 4-4=0 si ramane neschimbat, daca vrei sa ii ramana si motivele de dinainte trebuie sa faci intr-un vector sa se memoreze si alte motive ceva gen WantedReason[MAX_PLAYERS][4], sa zicem ca poate avea 4 si cand dai /mdc sa le afisezi pe alea care nu sunt null e. Sper ca ai inteles ce vreau sa zic.

  • Like 1
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
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.