AR/setMarkerTarget

From Multi Theft Auto: Wiki
Revision as of 19:26, 8 February 2016 by Jaber (talk | contribs) (Created page with "{{Server client function}} __NOTOC__ هذه الوظيفة تقول بوضع الماركر باحداثيات محددة. ==Syntax== <syntaxhighlight lang="lua"> bool setMarkerTarget (...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

هذه الوظيفة تقول بوضع الماركر باحداثيات محددة.


Syntax

bool setMarkerTarget ( marker theMarker, float x, float y, float z )    

OOP Syntax Help! I don't understand this!

Method: Marker:setTarget(...)
Variable: .getMarkerTarget


Required Arguments

  • theMarker: الماركر الذي تريد وضع احداثيات له
  • x: احداثيات الماركر x .
  • y: احداثيات الماركر z .
  • z: احداثيات ارتفاع الماركر z .


Example

Creates a marker in the center of the map and points it north.

local marker = createMarker(0,0,0,"ring",7,255,0,0,255) --نصنع ماركر
setMarkerTarget(marker,3000,0,0) --نضع الماركر باحداثيات

See Also