Jump to content
  • 0

[AJUTOR]OnPlayerGiveDamage


Gawitkkk

Question

Nick: Gawitkkk

Problema: As dori sa stiu cum pot face ca atunci cand o persoana este afk sa poata fii omorata.

Erori / warnings: -

Lini/script: -

Ai incercat sa rezolvi singur ?: Da, dar tot nu reusesc sa ii dau de cap.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

Pai in principiu ai nevoie de un sistem AFK (din cate stiu eu daca respectivii sunt pe ESC este imposibil sa-i omori).

Apoi in functia OnPlayerTakeDamage verifici de exemplu:

[pawn]if(PlayerAFK[playerid] == 1)

{

          SetPlayerHealth(playerid, amount);

}[/pawn]

Link to comment
Share on other sites

Deoarece la serverele Role - Play este de foarte mare ajutor.

Daca este un player care are wanted si un poltist vrea sa il omoare, nu poate deoarece este afk sau face bug abuse.

Sau daca e un Hitmen ce are un contract..

Gandeste-te putin..

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.