AR/getMarkerSize

From Multi Theft Auto: Wiki
Revision as of 18:41, 8 February 2016 by Jaber (talk | contribs) (Created page with "__NOTOC__ {{Server client function}} هذا الفنكشن يقو بجلب حجم الماركر. ==Syntax== <syntaxhighlight lang="lua">float getMarkerSize ( marker myMarker )</syntaxhighlight> {{OOP...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

هذا الفنكشن يقو بجلب حجم الماركر.

Syntax

float getMarkerSize ( marker myMarker )

OOP Syntax Help! I don't understand this!

Method: Marker:getSize(...)
Variable: .size
Counterpart: setMarkerSize


Required Arguments

  • myMarker: الماركر الذي تريد جلب حجمه.


Example

هذا المثال يصنع ماركر ويجلب حجمه بالشات.

-- نصنع ماركر
newMarker = createMarker ( 1, 1000, 1000, 1000, 1,0,0 )

if ( newMarker ~= false ) then
	--نخرج كلام بالشات به حجم الماركر
	outputChatBox ( "Current marker size: " .. getMarkerSize ( newMarker ) )
end

See Also