Posts: 248
Threads: 44
Joined: Aug 2011
Reputation:
0
16.09.2011, 15:01
(
Последний раз редактировалось Da' J'; 16.09.2011 в 17:15.
)
As you see in the title, i need a working, WORKING, auto-crack system for my server. I need some instructions how to add it, codes etc.
And another, how to add more space for the text's of my server? Ex. /me, /do, talking etc.
Posts: 248
Threads: 44
Joined: Aug 2011
Reputation:
0
Uhh.. Auto-crack when a player has like 20 HP or less.
Posts: 30
Threads: 8
Joined: May 2011
Reputation:
0
He probably wants that animation crack_(something) to apply when someone has health lower then 20.
Posts: 1,988
Threads: 17
Joined: Apr 2011
Reputation:
0
I found and FS related this.
You can create a new callback "OnPlayerHealthChange" with timer or "OnPlayerUpdate". To make the player unable to be killer, I guess "TogglePlayerControllable" can be used.
Posts: 933
Threads: 62
Joined: May 2011
Reputation:
0
in OnPlayerUpdate
foreach blabalbalballba
if(GetPlayerHealth[i] == 20)
{
//animation for /crack
}
Posts: 60
Threads: 5
Joined: Jan 2011
Reputation:
0
GetPlayerHealth(playerid,health);
if(health <= 29)
{
ApplyAnimationEx(playerid, "CRACK", "crckdeth2", 4.0, 0, 1, 1, 1, 1);
return 1;
}
- Here you go sir, no bugs.