Jump to content

مساعده كيف اسوي ماركر في البرجه


TAPL

Recommended Posts

الفنكشن الي يسوي الماركر هذا

createMarker 

اضغط عليه و يجي لك شرح الكود

و الأحداثيات تقدر تجيبها من اف1 حق الفري روم او من لوحة الأدمنية

/gp او كلمة موجوده في الفري روم

+

مو لازم تستخدم ماب اديتور

Link to comment

كل شي مشروح بالويكي

ايش الي ما فهمته هنا بالضبط؟

marker createMarker ( float x, float y, float z [, string theType = "checkpoint", float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255 ] ) 

Required Arguments

x: A floating point number representing the X coordinate on the map.

y: A floating point number representing the Y coordinate on the map.

z: A floating point number representing the Z coordinate on the map.

Optional arguments

NOTE: When using optional arguments, you must supply all arguments before the one you wish to use. For more information on optional arguments, see Optional Arguments.

theType: The visual type of the marker to be created. Possible values:

"checkpoint": A race checkpoint. These are very tall, but not infinite, light pillars. Checkpoints snap to ground and become invisible after going over a certain Z height.

"ring": Doughnut shaped ring, normally used for aircraft.

"cylinder": Small glowing ground ring. These are the glow markers you walk into to activate missions or events in single player.

"arrow": Arrow pointing down. These are the arrows on the doors you can enter in single player, except MTA's are not animated by default.

"corona": A glowing ball of light.

size: The diameter of the marker to be created, in meters.

r: An integer number representing the amount of red to use in the colouring of the marker (0 - 255).

g: An integer number representing the amount of green to use in the colouring of the marker (0 - 255).

b: An integer number representing the amount of blue to use in the colouring of the marker (0 - 255).

a: An integer number representing the amount of alpha to use in the colouring of the marker (0 - 255 where 0 is transparent and 255 is opaque).

visibleTo: Every element that is a child of this element can see the marker. See visibility.

Link to comment
الي ما فهمته وين احط الحجم .. المكان .. لون
marker createMarker ( float x, float y, float z [, string theType = "checkpoint", float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255 ] ) 

المكان

x

y

z

الحجم

size

اللون

r

g

b

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...