Jump to content

Problema la "SetPlayerTeam" cu DMG-u'.


Recommended Posts

Am facut un sistem micut de "CSGO" cumva, dai /joinct respectiv /joint si te vei alatura unui team. Team 0 - ct, team 1 - t. Insa.. cand te alaturi unui team nu poti lua dmg celuilalt team. Daca esti in arena, fara sa fii intr-un team poti sa iei dmg (nu am mai testat pe filmare, am testat dupa). Normal, nu ar trebui sa poti da dmg celui din acelasi team.. insa aici sunt 2 team-uri diferite :? un mic ajutor?



Link to comment
Share on other sites

8 minutes ago, W A R E N K said:

Nu stiu ce inseamna acel gTeam[0/1] la tine, incearca sa folosesti direct numere (de ex: 1, 2) ca sa iti dai seama daca problema e de la acea variabila.


Am testat codul asta si se ia damage cum trebuie: 


Voiam sa definesc id-urile de la team-uri prin gTeam, cand am vazut prima data un sistem de genul asa era :? cand am incercat tot ceva in genul cum ai facut tu dadea cv erori si nu am mai dat importanta. Acum merge, mersi mult.

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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

By using this site, you agree to our Terms of Use. 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.