yazan Posted February 9, 2013 Share Posted February 9, 2013 (edited) سلام عليكم بغلبك معي ودي كود سياره خاصه لا يمكن اركبها غيري جربت كود عناد ما شتغل معي او ما عرفت اعمله يا ريت طرح كود ____________________ كود عناد يلي عدلت عليه مسحته | ____________________ Edited February 10, 2013 by Guest Link to comment
iPrestege Posted February 9, 2013 Share Posted February 9, 2013 addCommandHandler ( "vehicle", function ( thePlayer, cmd, id ) x, y, z = getElementPosition ( thePlayer ) theVehicle = createVehicle ( tonumber(id), x, y + 3, z ) end ) addEventHandler ( "onVehicleStartEnter", root, function ( thePlayer, theSeat ) if source == theVehicle then if ( theSeat == 0 ) and ( getPlayerSerial ( thePlayer ) ~= "سريالكـ هنا!!" ) then cancelEvent ( ) outputChatBox ( "* ~][ هذه السيارة خاصة ][~", thePlayer, 255, 255, 0, true ) else outputChatBox ( "* ~][ مرحبـآ بك في المركبة الخاصةة ][~", thePlayer, 255, 0, 0, true ) setVehicleDamageProof(theVehicle, true) end end end ) سيرفر وشلت اذا كان الاعب بـ قروب ادمن او معين . Link to comment
yazan Posted February 9, 2013 Author Share Posted February 9, 2013 الكود يسير كذا ؟ addCommandHandler ( "car", function ( thePlayer, cmd, 402 ) x, y, z = getElementPosition ( thePlayer ) theVehicle = createVehicle ( tonumber(id), x, y + 3, z ) end ) addEventHandler ( "onVehicleStartEnter", root, function ( thePlayer, theSeat ) if source == theVehicle then if ( theSeat == 0 ) and ( getPlayerSerial ( thePlayer ) ~= "baee69a296db2edecc91449721fc56a1" ) then cancelEvent ( ) outputChatBox ( "* ~][ سياره خاصه ب يـز ـن ][~", thePlayer, 255, 255, 0, true ) else outputChatBox ( "* ~][ مرحبا بيك يا يزن في سيارت الخاصه ][~", thePlayer, 255, 0, 0, true ) setVehicleDamageProof(theVehicle, true) end end end ) Link to comment
iPrestege Posted February 9, 2013 Share Posted February 9, 2013 addCommandHandler ( "car", function ( thePlayer, cmd ) x, y, z = getElementPosition ( thePlayer ) theVehicle = createVehicle ( 402, x, y + 3, z ) end ) addEventHandler ( "onVehicleStartEnter", root, function ( thePlayer, theSeat ) if source == theVehicle then if ( theSeat == 0 ) and ( getPlayerSerial ( thePlayer ) ~= "baee69a296db2edecc91449721fc56a1" ) then cancelEvent ( ) outputChatBox ( "* ~][ سياره خاصه ب يـز ـن ][~", thePlayer, 255, 255, 0, true ) else outputChatBox ( "* ~][ مرحبا بيك يا يزن في سيارت الخاصه ][~", thePlayer, 255, 0, 0, true ) setVehicleDamageProof(theVehicle, true) end end end ) Link to comment
yazan Posted February 9, 2013 Author Share Posted February 9, 2013 مشكور اجربه و ارد خبر Link to comment
yazan Posted February 10, 2013 Author Share Posted February 10, 2013 قصم انك كفو بس عندي مشكله كانت اني حاطه في كلنت و هو سيرفر مشكوووووور Link to comment
iPrestege Posted February 10, 2013 Share Posted February 10, 2013 .حياكـ , العفو * نسيت اذكرك انة سيرفر Link to comment
yazan Posted February 10, 2013 Author Share Posted February 10, 2013 مو مشكله المهم شتغل تسلم 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