Resource:Detective vision

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This resource able players to see other ped/players below walls and check theys info. You can download it here.

How its looks

Exported Functions

addWindowInfo

Click to collapse [-]
Client

By this function you can add custom values in info window.

Syntax

bool [string] addWindowInfo ( { string valueName, string elementData, string/nil element, [ { table childValue1, table childValue2, ...} ] } )

Required Arguments

  • valueName: Name of value what will shows in window
  • elementData: Name of element data from what it will get values
  • element: Type of element for what will shows this value, can be "player", "ped" or nil for both

Returns

Returns true or false and error message if otherwise.

removeWindowInfo

Click to collapse [-]
Client

By this function you can add remove values from info window.

Syntax

bool [string] removeWindowInfo ( string valueName [, string elementData, string element ] )

Required Arguments

  • valueName: Name of value what shows in window

Optimal Arguments

  • elementData: Name of element data from what it get values
  • element: Type of element for what shows this value, can be "player" or "ped"

Returns

Returns true or false if otherwise.

See also

MTA Forum topic