Jump to content

طلب بسيط


Mr-M3AND

Recommended Posts

طريقه غير مجربه *

استخدم ,

setElementVisibleTo  -- لأخفاء البلب 
getDistanceBetweenPoints3D -- تجيب المسافه بينك وبين البلب 
setElementVisibleTo  -- تظهر البلب 

او تقدر تستخدم,

isElement 
destroyElement 
createBlip 
getDistanceBetweenPoints3D 
Edited by Guest
Link to comment

Syntax, createBlip:

Required Arguments

x: The x position of the blip, in world coordinates.

y: The y position of the blip, in world coordinates.

z: The z position of the blip, in world coordinates.

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.

icon: The icon that the radar blips should be. Valid values are:

size: The size of the radar blip. Only applicable to the Marker icon. Default is 2.

r: The amount of red in the blip's color (0 - 255). Only applicable to the Marker icon. Default is 255.

g: The amount of green in the blip's color (0 - 255). Only applicable to the Marker icon. Default is 0.

b: The amount of blue in the blip's color (0 - 255). Only applicable to the Marker icon. Default is 0.

a: The amount of alpha in the blip's color (0 - 255). Only applicable to the Marker icon. Default is 255.

ordering: This defines the blip's Z-level ordering (-32768 - 32767). Default is 0.

visibleDistance: The maximum distance from the camera at which the blip is still visible

visibleTo: What elements can see the blip. Defaults to visible to everyone. See visibility.

Link to comment
Blip1  = createBlip(1347.75122,-1628.42810,13.59584 , 6) 
  
       setElementVisibleTo(Blip1,player,false)(true)   
       getDistanceBetweenPoints3D (x1, y1, z1, x2 ,y2 ,z2) 
       setElementVisibleTo(Blip1,player,true) (true)  
  

كذا صح؟

Blip1 = createBlip ( 1347.75122, -1628.42810, 13.59584, 6, _, _, _, _, _, _, 200 ) 

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...