13.10.2015, 20:07
Quote:
|
How can i customize death atnimations? I tryed to play an animation for a player under OnPlayerPrepareToDeath but it doesn't work.
|
pawn Code:
public OnPlayerPrepareDeath(playerid, animlib[32], animname[32], &anim_lock, &respawn_time) {
//set the string contents
format(animlib, 32, "library");
format(animname, 32, "name");
anim_lock = 1;
respawn_time = 10000;
//rest of code
}

