Jump to content
  • 0

OnPlayerDeath chemat de 2 ori


Rayan

Question

5 answers to this question

Recommended Posts

  • 0
9 hours ago, Rayan said:

Salut, cand un jucator moare OnPlayerDeath este chemat de 2 ori, habar nu am de ce.

Am incercat sa sterg tot public-ul si sa las gol si la fel se intampla, practic e chemat de 2 ori.

OnPlayerDeath aici https://pastebin.com/yVCXtCkd

Ma poate ajuta cineva?

OnPlayerDeath( playerid, issuerid, weaponid ); vezi poate mai accesezi pe undeva asa

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

  • 0
Acum 4 minute, Daedric-Fox a spus:

OnPlayerDeath( playerid, issuerid, weaponid ); vezi poate mai accesezi pe undeva asa

Da, am, la OnPlayerGiveDamage, insa am vazut in mai multe GM-uri care au in acest public, OnPlayerDeath si nu e chemat de 2 ori

https://pastebin.com/rkkqwj9w

 

Edited by Rayan
Link to comment
Share on other sites

  • 0

Bump, am observat ca problema apare cand am SetPlayerTeam(playerid,255) la OnPlayerSpawn, am incercat sa o sterg, si la fel, OnPlayerDeath e chemat de 2 ori, dar daca pun de exemplu: SetPlayerTeam(playerid,4); OnPlayerDeath nu mai e chemat de 2 ori, insa jucatorii nu pot sa isi ia damage fie Heli blade, fie cu grenadele (explozii) etc..

Stie cineva cum as putea rezolva?

GM-ul wexgaming, un edit de la bigzone

Edited by Rayan
Link to comment
Share on other sites

  • 0
22 minutes ago, Rayan said:

Bump, am observat ca problema apare cand am SetPlayerTeam(playerid,255) la OnPlayerSpawn, am incercat sa o sterg, si la fel, OnPlayerDeath e chemat de 2 ori, dar daca pun de exemplu: SetPlayerTeam(playerid,4); OnPlayerDeath nu mai e chemat de 2 ori, insa jucatorii nu pot sa isi ia damage fie Heli blade, fie cu grenadele (explozii) etc..

Stie cineva cum as putea rezolva?

GM-ul wexgaming, un edit de la bigzone

 

    Players can not damage/kill players on the same team unless they use a knife to slit their throat. As of SA-MP 0.3x, players are also unable to damage vehicles driven by a player from the same team. This can be enabled with EnableVehicleFriendlyFire.
    255 (or NO_TEAM) is the default team to be able to shoot other players, not 0.

 

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

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
Answer this question...

×   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.