No categories assigned

LUA:PerformCameraShake

LUA Functions: PerformCameraShake()

Shakes the player camera


Syntax

PerformCameraShake(param1, param2, param3)


Parameters

Required - param1 (Spawn), param2 (int32)
param1 is the player
param2 is the first value
param3 is the intensity of the camera shake Min value of 15000

Usage

function hailed(NPC, Spawn)
     PerformCameraShake(Spawn, 52429, 15948)
end


Notes

Can only be used on a player

Will shake the camera