- 0
Problema OnPlayerGiveDamage
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
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?
2 answers to this question
Recommended Posts