Resource:Detective vision

From Multi Theft Auto: Wiki
Revision as of 15:44, 17 October 2011 by Dre -+- (talk | contribs) (Created page with "{{Resource page}} This resource able players to see other ped/players below walls and check theys info. You can download it [http://community.multitheftauto.com/index.php?p=resou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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