w7sH Posted June 1, 2016 Share Posted June 1, 2016 dim+int السلام عليكم ابي ماركر الانتقال مع Link to comment
iMr.WiFi..! Posted June 1, 2016 Share Posted June 1, 2016 'onMarkerHit' setElementPosition setElementInterior setElementDimension Link to comment
#Soking Posted June 1, 2016 Share Posted June 1, 2016 (edited) Marker = createMarker(x, y, z-1,'cylinder',1,255, 0, 0, 150) -- كود انشاء المركر addEventHandler('onClientMarkerHit',root, -- اضافة حدث جديد function ( hPlayer ) -- فنكشن if ( source == Marker ) and ( hPlayer == localPlayer ) then -- شرط for i = 1, 2 do -- لوب يتكرر مرتين outputChatBox('Welcome') -- يطلع رساله بالشات end -- اعلاق للوب setElementPosition(hPlayer, x, y, z) -- الاحدثيات setElementDimension ( hPlayer , 0) -- العالم الوهمي setElementInterior ( hPlayer , 0 ) -- المبني end -- اغلاق الشرط end ) -- اغلاق الفنكشن + قوس للاغلاق للحدث Edited June 2, 2016 by Guest Link to comment
Abdul KariM Posted June 1, 2016 Share Posted June 1, 2016 Marker = createMarker(x, y, z-1,'cylinder',1,255, 0, 0, 150) -- كود انشاء المركر addEventHandler('onClientMarkerHit',root, -- اضافة حدث جديد function ( ) -- فنكشن if ( source == Marker ) then -- شرط for i = 1, 2 do -- لوب يتكرر مرتين outputChatBox('Welcome') -- يطلع رساله بالشات end -- اعلاق للوب setElementPosition(localPlayer, x, y, z) -- الاحدثيات setElementDimension ( localPlayer , 0) -- العالم الوهمي setElementInterior ( localPlayer , 0 ) -- المبني end -- اغلاق الشرط 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