Bassam*Syria Posted March 14, 2014 Share Posted March 14, 2014 انا عملت مود و كل اشي بس في مشكلة لما ياخذ الوظيفة و السيارة و يجيلو علامة بالخرية لازم يرحلها بس المشكلة انو العلامة بتظهر عند الكل انا بدي ياها تظهر عند الشخص الي بالطيارة بس ممكن مساعدة ؟ function startJob ( thePlayer ) local x, y, z = unpack ( pickups [ math.random ( #pickups ) ] ) markers [ thePlayer ] = createMarker ( x, y, z, "cylinder", 5.0, 255, 0, 0, 0 ) mposi = { getElementPosition( markers [ thePlayer ] ) } local skins = unpack ( pedCus [ math.random ( #pedCus ) ] ) peds [ thePlayer ] = createPed( skins, x, y, z ) blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 58 ) addEventHandler ( "onMarkerHit", markers [ thePlayer ], warpit ) end Link to comment
</Mr.Tn6eL> Posted March 14, 2014 Share Posted March 14, 2014 انا عملت مود و كل اشي بس في مشكلة لما ياخذ الوظيفة و السيارة و يجيلو علامة بالخرية لازم يرحلها بس المشكلة انو العلامة بتظهر عند الكل انا بدي ياها تظهر عند الشخص الي بالطيارة بس ممكن مساعدة ؟ function startJob ( thePlayer ) local x, y, z = unpack ( pickups [ math.random ( #pickups ) ] ) markers [ thePlayer ] = createMarker ( x, y, z, "cylinder", 5.0, 255, 0, 0, 0 ) mposi = { getElementPosition( markers [ thePlayer ] ) } local skins = unpack ( pedCus [ math.random ( #pedCus ) ] ) peds [ thePlayer ] = createPed( skins, x, y, z ) blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 58 ) addEventHandler ( "onMarkerHit", markers [ thePlayer ], warpit ) end شخابيط Link to comment
K1NG Posted March 14, 2014 Share Posted March 14, 2014 انا عملت مود و كل اشي بس في مشكلة لما ياخذ الوظيفة و السيارة و يجيلو علامة بالخرية لازم يرحلها بس المشكلة انو العلامة بتظهر عند الكل انا بدي ياها تظهر عند الشخص الي بالطيارة بس ممكن مساعدة ؟ function startJob ( thePlayer ) local x, y, z = unpack ( pickups [ math.random ( #pickups ) ] ) markers [ thePlayer ] = createMarker ( x, y, z, "cylinder", 5.0, 255, 0, 0, 0 ) mposi = { getElementPosition( markers [ thePlayer ] ) } local skins = unpack ( pedCus [ math.random ( #pedCus ) ] ) peds [ thePlayer ] = createPed( skins, x, y, z ) blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 58 ) addEventHandler ( "onMarkerHit", markers [ thePlayer ], warpit ) end • createBlipAttachedTo: Required Arguments elementToAttachTo: The element to attach the marker to. 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 value 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 (0 - 65535) visibleTo: What elements can see the blip. Defaults to visible to everyone. See visibility. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now