Jump to content

Recommended Posts

Posted

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!

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.