19.01.2012, 18:51
Quote:
Ok... We tested it with 2 people, and now it works for everyone. But one question - How the heck my character keeps doing the animation all the time? It spins like 2 times in a second.. I think it's because of this?
pawn Code:
|
https://sampwiki.blast.hk/wiki/ApplyAnimation
And btw if you're missing still missing the /getup cmd
pawn Code:
public OnPlayerCommandText( playerid, cmdtext[ ] )
{
if( strcmp( cmdtext, "/getup", true, 6 ) == 0 ) {
SetPlayerHealth(playerid, 25);
ClearAnimations(playerid);
TogglePlayerControllable(playerid,1);
return 1;
}
return 0;
}