Wiki

Clone wiki

EFLC-MP LUA / attachCamOnPlayer

Description

Puts the player camera behind another player. Ideal for for spectate functions.

Parameters

Int playerid, Int target_player_id
Int playerid: id of who is going to spectate

Int target_player_id: id of the player being spectated, use -1 to reset the camera for the playerid.

Return values


Example

Updated