AR/setMarkerTarget

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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


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