Jump to content

moveObject


Recommended Posts

آلسلآم ,

وين آلخطأ هينآ ؟ !

  
gatenumber1 = createObject ( 980, -3516.1000976563, -2999.3000488281, 37.840000152588, 0, 0, 0 ) 
Markernumber1 = createMarker ( 1794.8, 2351.8, 5.8, "cylinder", 1, 0, 255, 0, 250 ) 
  
addEventHandler("onMarkerHit", Markernumber1, 
    function (player) 
if getElementType(player)=="player" then 
    moveObject(gatenumber1, 5000, -3516.1000976563, -2999.3000488281, 45) 
    end) 
    addEventHandler("onMarkerLeave", Markernumber1,  
function (player) 
if getElementType(player)=="player" then 
    moveObject(gatenumber1, 2000, -3516.1000976563, -2999.3000488281, 37.840000152588,) 
    end) 

Link to comment
آلسلآم ,

وين آلخطأ هينآ ؟ !

  
gatenumber1 = createObject ( 980, -3516.1000976563, -2999.3000488281, 37.840000152588, 0, 0, 0 ) 
Markernumber1 = createMarker ( 1794.8, 2351.8, 5.8, "cylinder", 1, 0, 255, 0, 250 ) 
  
addEventHandler("onMarkerHit", Markernumber1, 
    function (player) 
if getElementType(player)=="player" then 
    moveObject(gatenumber1, 5000, -3516.1000976563, -2999.3000488281, 45) 
    end) 
    addEventHandler("onMarkerLeave", Markernumber1,  
function (player) 
if getElementType(player)=="player" then 
    moveObject(gatenumber1, 2000, -3516.1000976563, -2999.3000488281, 37.840000152588,) 
    end) 

الخطا ناقص اند بكل الفنكشنين .. | =

Link to comment

ناقص 2 اند والأول

  
gatenumber1 = createObject ( 980, -3516.1000976563, -2999.3000488281, 37.840000152588, 0, 0, 0 ) 
Markernumber1 = createMarker ( 1794.8, 2351.8, 5.8, "cylinder", 1, 0, 255, 0, 250 ) 
  
addEventHandler("onMarkerHit", Markernumber1,  
    function (player) 
if getElementType(player)=="player" then 
    moveObject(gatenumber1, 5000, -3516.1000976563, -2999.3000488281, 45) 
    end--if إند ناقص حق الشرط    
  end) 
    addEventHandler("onMarkerLeave", Markernumber1, 
function (player) 
if getElementType(player)=="player" then 
    moveObject(gatenumber1, 2000, -3516.1000976563, -2999.3000488281, 37.840000152588,) 
    end--if إند ناقص حق الشرط    
  end) 
Edited by Guest
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...