~>i'Mr.ZaId<~ Posted June 16, 2013 Posted June 16, 2013 السلام عليكم ورحمةة الله وبركاتهه يا شباب يا ريت تصلحولي هالاكواد والله وجع قلبي local marker50 = createMarker (1390.4000244141,566.40002441406,137.5,"arrow",2,20,245,9,255) local marker30 = createMarker (1375.4000244141,542.90002441406,5000.9,"arrow",2,29,255,0,255) local marker40 = createMarker (1390.8000488281,561.29998779297,135.19999694824,"cylinder",1,245,9,9,255) local marker60 = createMarker (1497.6999511719,580.5,133.30000305176,"cylinder",2,127,126,126,255) function teleport1 (thePlayer) if (getElementData(thePlayer,"Group") == "[saW]") then setElementPosition(thePlayer,1378.5999755859,544.70001220703,4999.3999023438) outputChatBox("تم نقلك",thePlayer,255,255,255,true) else outputChatBox("انت لست من عصابة سـآو",thePlayer,255,255,255,true) end end addEventHandler("onMarkerHit", marker50, teleport1) function teleport2 (thePlayer) if (getElementData(thePlayer,"Group") == "[saW]") then setElementPosition(thePlayer,1393.5,571.29998779297,136.19999694824) outputChatBox("تم نقلك",thePlayer,255,255,255,true) else outputChatBox("انت لست من عصـآبة سـآو",thePlayer,255,255,255,true) end end addEventHandler("onMarkerHit", marker30, teleport2) function health (thePlayer) if (getElementData(thePlayer,"Group") == "[saW]") then setPedArmor ( thePlayer,100 ) setElementHealth ( thePlayer,100 ) end end addEventHandler("onMarkerHit",health,marker40) function fixcar (theVehicle) if (getElementData(thePlayer,"Group") == "[saW]") then fixVehicle ( theVehicle ) end end addEventHandler("onMarkerHit",fixcar,marker60)
iPrestege Posted June 16, 2013 Posted June 16, 2013 سطر 37 : theVehicle xxx > من وين جايبها .. انصحكـ بـ الجداول تختصر آكثر
~>i'Mr.ZaId<~ Posted June 16, 2013 Author Posted June 16, 2013 (edited) انا جديد بالبرمجة يعني شوي شوي علي والجداول اول مرة اسمع فيها وياليت تعدله لي الفنكشن الاول والثاني للانتقال بس لقروب ساو والفنكشن الثالث ماركر يعبي دم ودرع والرابع تصليح سيارة كل الفنكشات لقروب ساو مو قروب ACL قروب داتا مثل حرب العصابات ياريت تصلحه لي تكفى الله يخليك edit : تكفووؤن ردو : ( Edited June 16, 2013 by Guest
iPrestege Posted June 16, 2013 Posted June 16, 2013 لم يتم التجربة -- # Server Side! local marker50 = createMarker (1390.4000244141,566.40002441406,137.5,"arrow",2,20,245,9,255) local marker30 = createMarker (1375.4000244141,542.90002441406,5000.9,"arrow",2,29,255,0,255) local marker40 = createMarker (1390.8000488281,561.29998779297,135.19999694824,"cylinder",1,245,9,9,255) local marker60 = createMarker (1497.6999511719,580.5,133.30000305176,"cylinder",2,127,126,126,255) function teleport1 ( thePlayer ) if getElementType ( thePlayer ) == 'player' then if getElementData ( thePlayer,'Group' ) == '[saW]' then setElementPosition( thePlayer,1378.5999755859,544.70001220703,4999.3999023438 ) outputChatBox("تم نقلك",thePlayer,255,255,255,true) else outputChatBox("انت لست من عصـآبة سـآو",thePlayer,255,255,255,true) end end end function teleport2 ( thePlayer ) if getElementType ( thePlayer ) == 'player' then if getElementData ( thePlayer,'Group' ) == '[saW]' then setElementPosition(thePlayer,1393.5,571.29998779297,136.19999694824) outputChatBox("تم نقلك",thePlayer,255,255,255,true) else outputChatBox("انت لست من عصـآبة سـآو",thePlayer,255,255,255,true) end end end function health ( thePlayer ) if getElementType ( thePlayer ) == 'player' then if getElementData ( thePlayer,'Group' ) == '[saW]' then setPedArmor ( thePlayer,100 ) setElementHealth ( thePlayer,100 ) end end end function fixcar ( thePlayer ) if getElementType ( thePlayer ) == 'player' and isPedInVehicle ( thePLayer ) then if getElementData ( thePlayer,'Group' ) == '[saW]' then fixVehicle ( getPedOccupiedVehicle( thePlayer ) ) end end end addEventHandler("onMarkerHit", marker30,teleport2) addEventHandler("onMarkerHit", marker50,teleport1) addEventHandler("onMarkerHit",marker40,health) addEventHandler("onMarkerHit",marker60,fixcar)
~>i'Mr.ZaId<~ Posted June 16, 2013 Author Posted June 16, 2013 وقسم بالله انك كفو طول عمرك كفو احبك فديتك وشكرا يا احلى مبرمج^^ بدعيلك كل صـلآة ومشكوووور
تم حذف Posted September 24, 2013 Posted September 24, 2013 شباب ممكن احصل على ماركر للقروب انضمام مقر
Stranger Posted September 24, 2013 Posted September 24, 2013 شباب ممكن احصل على ماركر للقروب انضمام مقر وش ؟
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