S4MuEL Posted June 15, 2013 Share Posted June 15, 2013 آلسلآم , وين آلخطأ هينآ ؟ ! 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
iPrestege Posted June 15, 2013 Share Posted June 15, 2013 آلسلآم ,وين آلخطأ هينآ ؟ ! 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
iMr.Dawix~# Posted June 15, 2013 Share Posted June 15, 2013 (edited) ناقص 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 June 15, 2013 by Guest Link to comment
S4MuEL Posted June 15, 2013 Author Share Posted June 15, 2013 آلكود كآن بدون if ونسيت آحطط آلـ end خخ مشكور .. 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