Plays a knocked to back or knocked to knees animation, also if a player is knocked back additional parameters can be provided to toss the player back.
Here is a example to toss the player when they hail an NPC
Code: Select all
function hailed(NPC, Spawn)
Knockback(NPC, Spawn, 5000, -8, 15)
end