Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

Yo, va salut pe toti. 

As avea o nelamurire pe care nu stiu cum as putea sa o rezolv. 

Incerc sa fac un sistem de 1v1 intre playeri, dar nu reusesc, sa creez o functie care sa detecteze atunci cand sunt 2 jucatori in arena. 

Am totul facut pana acum, doar functia asta nu stiu cum sa o fac si cum sa o folosesc. 

Daca cineva imi poate explica. 

Posted

la OnPlayerDeath

if(1v1[playerid] == 1v1[killerid] || 1v1[killerid] == 1v1[playerid]) {

   ///codu
	1v1[killerid] = -1;
	1v1[playerid] = -1;
}
Ceva de genu..Sunt multe metode

 

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.