Skip to content

event onRenderFocus (client-side)

Available since version: 0.0.1

This event can be canceled


This event is disabled by default. To enable it, use enableEvent_RenderFocus function.

This event is triggered every game frame, but only when user is focusing other player, npc or vob.


int type, int id, int x, int y, string name
  • int type: the type of currently focused vob. For more information see Vob types.
  • int id: the id of currently focused vob. If focused target is not player or npc this value is -1.
  • int x: screen virtual x position. Position X is centered related to vob.
  • int y: screen virtual y position. Position Y is offsetted above vob.
  • string name: focused target displayed name.