AR/setMarkerTarget

From Multi Theft Auto: Wiki
Revision as of 18:47, 16 February 2016 by Jaber (talk | contribs)
(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