Jump to content

createBlipAttachedTo.


Recommended Posts

Posted
Just now, iMr.WiFi..! said:

myMarker = createMarker( 1987.87427, -2380.81665, 13.54688, "cylinder", 3, 155,0,0,200)
setElementVisibleTo( myMarker, root, false )



 
function mission()
  if eventName == "onVehicleStartEnter" then
		if getElementModel ( source ) == 592 and getVehicleController ( source ) then
   		 setElementVisibleTo ( myMarker, getVehicleController ( source ), true )
		end
  elseif eventName == "onVehicleStartExit" then
    	if getElementModel ( source ) == 592 and getVehicleController ( source ) then
      		setElementVisibleTo ( myMarker, getVehicleController ( source ), false )
		end
	end
end
addEventHandler("onVehicleStartEnter",getRootElement(),mission)
addEventHandler("onVehicleStartExit",getRootElement(),mission)

 

تمام عي دي كانت خطوتي الجاية تسلم 

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted
3 minutes ago, ProMax said:

تمام عي دي كانت خطوتي الجاية تسلم 

اشتغل؟؟

eventName

من وين جت

  • Like 1

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

Posted
1 minute ago, !#NssoR_) said:

يعطيك العافيه تصدق للان ما كنت ادري ان في اكثر من متغير ل mta

مشكور يقلبي

  • Like 1

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

Posted

انا عندي سؤال في عقلي مش عارف اترجمه كويس 

يمكن الكود يشرحه 

    function letsStart:~()
    if ( getElementModel ( vehicle ) == 592 ) then 
    local x, y, z = getElementPosition( vehicle )
    if  getElementPosition( vehicle ) == x, y, z+200 
    then 
    outputChatBox("your andromada delivery has started,pal",player)
    end
    end

بس بيقولي 'then' expected near ','

وانا مش شايف هاد ال ','

 

    function airCheck()
    
    local aVehicle = getPedOccupiedVehicle( localPlayer )
    
    if ( aVehicle and isElementInWater( aVehicle ) ) then
    
        if ( getElementModel ( aVehicle ) == 592 ) then
    
            if ( getElementPosition ( aVehicle ) == x , y, z+200 ) 
    
            end
        end
    end
end

فين الغلط هنا @iMr.WiFi..! @Master_MTA

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted
1 minute ago, ProMax said:

    function airCheck()
    
    local aVehicle = getPedOccupiedVehicle( localPlayer )
    
    if ( aVehicle and isElementInWater( aVehicle ) ) then
    
        if ( getElementModel ( aVehicle ) == 592 ) then
    
            if ( getElementPosition ( aVehicle ) == x , y, z+200 ) 
    
            end
        end
    end
end

فين الغلط هنا @iMr.WiFi..! @Master_MTA

x,y,z

مش معرفين

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

Posted
Just now, Master_MTA said:

x,y,z

مش معرفين

انا مسوي كدة فوق 

    local x, y, z = getElementPosition( aVehicle )

 

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted
Just now, ProMax said:

انا مسوي كدة فوق 


    local x, y, z = getElementPosition( aVehicle )

 

طيب وليه شيل التحقق ما بيزبط ابد

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

Posted
Just now, Master_MTA said:

طيب وليه شيل التحقق ما بيزبط ابد

مش فاهم

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted
Just now, ProMax said:

مش فاهم

يعني انته جايب الارتفاع حق المركبه

ومسوي ان لو كان ارتفاع المركبه =ارتفاع المركبه الحالي+200

فمستحيل يزبط التحقق

  • Like 1

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

Posted
Just now, Master_MTA said:

يعني انته جايب الارتفاع حق المركبه

ومسوي ان لو كان ارتفاع المركبه =ارتفاع المركبه الحالي+200

فمستحيل يزبط التحقق

كيف اظبطه 

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted
Just now, ProMax said:

كيف اظبطه 

شيله؟

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

Posted
Just now, ProMax said:

كيف اظبطه 

تخيل انك تجيب إحداثياتك تمام

وتسوي تحقق اذا انت ف مكانك و فوق مكانك ب 200 متر

كيف بالله ؟

بتكون في مكانين مرة وحدة ؟

أتمنى تكون فهمتني

IT Projet Manager

 

Posted
Just now, coNolel said:

تخيل انك تجيب إحداثياتك تمام

وتسوي تحقق اذا انت ف مكانك و فوق مكانك ب 200 متر

كيف بالله ؟

بتكون في مكانين مرة وحدة ؟

أتمنى تكون فهمتني

 

Just now, Master_MTA said:

شيله؟

طيب ازاي اتأكد من الارتفاع حقي بس 

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted
Just now, ProMax said:

 

طيب ازاي اتأكد من الارتفاع حقي بس 

تجيب إرتفاعك

وأرتفاع السيارة

وتقارن

بس ماني متأكد

IT Projet Manager

 

Posted
1 minute ago, coNolel said:

تجيب إرتفاعك

وأرتفاع السيارة

وتقارن

بس ماني متأكد

انا عايز اتأكد ان ارتفاع الطيارة فوق ال200 كل ثاينة بأكد

 

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted
10 minutes ago, ProMax said:

انا عايز اتأكد ان ارتفاع الطيارة فوق ال200 كل ثاينة بأكد

 

في ايفينت اتوقع لوايفاي

بقسم اليوزفل فنكشن

تحصله لما المركبه تتحرك

استخدمه وتحقق من ارتفاعها

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

Posted
Just now, ProMax said:

@Master_MTA


isElementMoving 

مش فاهمها من الويكي ممكن تشرحها

 

يسوي تحقق هل الالمنت يتحرك ولا موقف في مكانه فهمتني؟

Skype 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001

every thing is gonna be alright

every thing is gonna be okay

it's gonna be a good good life

that's what my therapist say

Posted
3 minutes ago, Master_MTA said:

يسوي تحقق هل الالمنت يتحرك ولا موقف في مكانه فهمتني؟

تمام وانا كيف بحدد انه ماشي لفوق

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted

@Master_MTA كدة؟

@iMr.WiFi..!

    function airCheck()
    
    local aVehicle = getPedOccupiedVehicle( player )
    
    if ( aVehicle ) then
    
        if ( getElementModel ( aVehicle ) == 592 ) then
    
        if isElementMoving ( aVehicle ) then
        
        outputChatBox("gg",player)
        
            end
        end
    end
end
setTimer ( airCheck,1000,0 )

بس مش شغال 

 

7YwV3kT.png

ℙℝM∀✗

Video Editor --- Images and pictures Editor.

Trial LUA Scripter. 

Scripting Skills 

     ↧ 

26%

 

Posted
28 minutes ago, ProMax said:

@Master_MTA كدة؟

@iMr.WiFi..!


    function airCheck()
    
    local aVehicle = getPedOccupiedVehicle( player )
    
    if ( aVehicle ) then
    
        if ( getElementModel ( aVehicle ) == 592 ) then
    
        if isElementMoving ( aVehicle ) then
        
        outputChatBox("gg",player)
        
            end
        end
    end
end
setTimer ( airCheck,1000,0 )

بس مش شغال 

player غير معرفة

من أراد الفشل عليه بالنجاح

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