Page 1 of 1

New LUA Function: Knockback()

Posted: Wed Dec 04, 2013 2:41 pm
by Jabantiz
Knockback()
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