-
Posts
10,056 -
Joined
-
Last visited
-
Days Won
27
Everything posted by iPrestege
-
local aMarkerOne = createMarker ( 1555.49988,-1675.50745,16.19531+1,'arrow',2,255,255,1,1 ) local aMarkerTwo = createMarker ( 246.73145,62.32819,1003.64063+1,'arrow',2,255,255,1,1 ) setElementDimension ( aMarkerTwo,40 ) setElementInterior ( aMarkerTwo,6 ) createBlipAttachedTo ( aMarkerOne,30 ) addEventHandler ( 'onMarkerHit',root, function ( aElement ) if getElementType ( aElement ) == 'player' then if source == aMarkerOne then setElementPosition ( aElement,246.04967,64.94949,1003.64063 ) setElementInterior ( aElement,6 ) setElementDimension ( aElement,40 ) elseif source == aMarkerTwo then setElementPosition ( aElement,1541.27869,-1676.85962,13.55224 ) setElementInterior ( aElement,0 ) setElementDimension ( aElement,0 ) end end end )
-
local marker = createMarker ( 246.73145,62.32819,1003.64063,"arrow",2,255,255,1,1 ) function changeLocation ( person ) if getElementType ( person ) == "player" then if isPedInVehicle ( person ) then return false end setElementPosition ( person,1541.27869,-1676.85962,13.55224 ) setElementInterior ( person,0 ) setElementDimension ( person,0 ) end end addEventHandler ( "onMarkerHit", marker, changeLocation )
-
local marker = createMarker ( 133.60000610352,1934.1999511719,18.299999237061,'cylinder',1.5,0,255,0 ) local vehicles = { 506,429 } local vehicleT = { } addEventHandler ( 'onMarkerHit',marker, function ( player ) if ( getElementType ( player ) == 'player' ) then if not isPedInVehicle ( player ) then if getPlayerTeam(player) and getTeamName( getPlayerTeam( player ) ) == 'test' then if isElement ( vehicleT [ player ] ) then destroyElement ( vehicleT [ player ] ) end local model = vehicles [ math.random ( #vehicles ) ] local x,y,z = getElementPosition ( player ) vehicleT[player] = createVehicle ( model, x,y,z ) warpPedIntoVehicle ( player,vehicleT[player] ) else outputChatBox ( 'يجب ان تكون في الفريق test!!',player,200,0,0 ) end end end end ) addEventHandler ( 'onPlayerQuit' ,root, function ( ) if isElement ( vehicleT [ source ] ) then destroyElement ( vehicleT [ source ] ) vehicleT [ source ] = nil end end )
-
local marker = { } addCommandHandler ( "nuke", function ( player ) if ( isElement ( marker [ player ] ) ) then destroyElement ( marker [ player ] ) end local x,y,z = getElementPosition ( player ) marker [ player ] = createMarker ( x,y,z,"cylinder",15, 255, 255, 0, 170 ) addEventHandler ( "onMarkerHit",marker [ player ], function ( hitElement ) if getElementType ( hitElement ) == "player" and hitElement ~= player then killPed ( hitElement ) end end ) setTimer ( function ( ) for _,thePlayer in ipairs ( getElementsByType ( "player" ) ) do if isElementWithinMarker ( thePlayer,marker [ player ] ) then if ( thePlayer == player ) then return false end killPed ( thePlayer ) end end end,3000,1 ) end ) addEventHandler ( "onPlayerQuit",root, function ( ) if ( isElement ( marker [ source ] ) ) then destroyElement ( marker [ source ] ) marker [ source ] = nil end end )
-
جرب تبدل الـ ACL يمكن فية عطب ولا شيء
-
تم اضافية خاصية النسخ للاكواد والتحديد الكامل باقصى اليسار والجوال كذلك. @darkdreamingdan
-
@darkdreamingdan Thank you I do not know what to say, but this wonderful work!
-
That's great I've never thought about a 1m
- 24 replies
-
- press
- rockpapershotgun
-
(and 1 more)
Tagged with: