Jump to content

Problema: Atunci cand omori pe cineva sa nu dea wanted


Recommended Posts

Va rog sa ma ajutati, am o problema, cum fac atunci cand omori pe cineva intr-un anumit loc sa nu iti dea wanted!

De exemplu eu am facut Deagle Arena si vreau sa fac ca atunci cand omori pe cineva in interiorul ei sa nu iti dea wanted!

Raman dator celui care ma ajuta!

Link to comment
Share on other sites

Uite un mod:

Faci o variabila pentru jucator care verifica daca e intr-un event/sau unde doresti tu:

new PlayerEvent[MAX_PLAYERS];

Te duci la OnPlayerConnect si pui : PlayerEvent[playerid] = 0;

Pe urma te duci la comanda care intri intr-un event si pui:

PlayerEvent[playerid] = 1;

Iar la onPlayerdeath, la functia , acolo unde primesti wanted pui verificarea:

if(PlayerEvent[killerid] == 0)


...liniile pe care le ai si care dau wanted lui kilerid.


Eu ti-am propus o metoda, tu poti face si in alt fel.

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.

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.