AR/getBlipVisibleDistance: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Server client function}} __NOTOC__ جلب المسافة التي يظهر فيها العلامة ==Syntax== <syntaxhighlight lang="lua">float getBlipVisibleDistance ( blip theBlip )</code...")
(No difference)

Revision as of 07:35, 3 January 2014

جلب المسافة التي يظهر فيها العلامة

Syntax

float getBlipVisibleDistance ( blip theBlip )

Required Arguments

  • theBlip: البلب المُراد جلبه.

Returns

Returns one float with the blips visible distance, false if the blip is invalid.

Example

هذا المثال يقوم بإنشاء العلامة وإخراج المسافة في debug

local blip = createBlip ( 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 1000 );
outputDebugString ( "Blip visible distance: "..getBlipVisibleDistance ( blip ) );

See Also