Function: Knockback(target_spawn, spawn, duration, vertical, horizontal, use_heading)
Description: Triggers a knockback on the target_spawn with spawn being the originator.
Parameters:
target_spawn(Spawn) - Spawn object representingtarget_spawn.spawn(Spawn) - Spawn object representingspawn.duration(uint32) - Time valuedurationin seconds.vertical(float) - Float valuevertical.horizontal(float) - Float valuehorizontal.use_heading(uint8) - Integer valueuse_heading.
Returns: None.
Connection lifetime: Each player or group-member connection resolved by this function is retained through the native call. A disconnect or reconnect during a callback cannot destroy that retained connection or switch the ongoing call to a replacement. A later Lua call resolves the current connection. This does not extend the lifetime of unrelated spawn or item userdata.