- 0
Problema OnPlayerGiveDamage
-
Similar Content
-
- 1 reply
- 147 views
-
Problema
By ImJustSlim,
- 3 answers
- 258 views
-
- 2 replies
- 141 views
-
- 1 answer
- 283 views
-
- 6 answers
- 1,119 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Rayan
Salut, am o problema, la OnPlayerGiveDamage, am aceasta functie, practic mesajul este trimis, insa jucatorul tot i se ia HP
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart) { if(damagedid != INVALID_PLAYER_ID) { if(PlayerInfo[damagedid][pFreezeTime] != 0) { SendClientMessage(playerid, -1, "This player is frozen, you can't shoot him."); amount = 0; return 0; } } return 1; }
Cum as putea rezolva sa nu ia ia HP?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts