Abu-Solo Posted December 7, 2016 Share Posted December 7, 2016 السلام عليكم ورحمة الله وبركاتة عندي طلب بسيط وانشاء الله ما اكون ازعجت احد بـ كثرة طلباتي ابغي لما اضغط علي زرار يعطيني سيارة, ولما اللاعب يخرج من السيرفر يسحب السيارة وما ابغاه يجيب اكثر من سيارة, هي سيارة وحده بس. وشكرأ Link to comment
iPrestege Posted December 7, 2016 Share Posted December 7, 2016 addEventHandler ( 'onClientGUIClick' ); triggerServerEvent; table; addEvent; addEventHandler; isElement; destroyElement; createVehicle; addEventHandler ( 'onPlayerQuit' ); addEventHandler ( 'onVehicleExplode' ); Link to comment
Abu-Solo Posted December 7, 2016 Author Share Posted December 7, 2016 3 minutes ago, iPrestege said: addEventHandler ( 'onClientGUIClick' ); triggerServerEvent; table; addEvent; addEventHandler; isElement; destroyElement; createVehicle; addEventHandler ( 'onPlayerQuit' ); addEventHandler ( 'onVehicleExplode' ); ابغي الكود كامل لاهنت, انا ما افهم لـ التيبل او ال table Link to comment
iPrestege Posted December 7, 2016 Share Posted December 7, 2016 ;| ماتوصل لدرجة أننا بنسوي لك كود كامل جاهز حاول تبحث بتحصل طلبات كثير مثلك ^^ 3 Link to comment
Abu-Solo Posted December 7, 2016 Author Share Posted December 7, 2016 مشكور تمت الافادة ... صنعت الكود بـ نفسي والشكر لك ي برستيج Link to comment
iPrestege Posted December 7, 2016 Share Posted December 7, 2016 عفواً والحمدلله تعتمد على نفسك تتعلم أكثر بالتوفيق لك مستقبلاً .. 2 Link to comment
Abu-Solo Posted December 7, 2016 Author Share Posted December 7, 2016 2 minutes ago, iPrestege said: عفواً والحمدلله تعتمد على نفسك تتعلم أكثر بالتوفيق لك مستقبلاً .. مشكور لك Link to comment
#STZ Posted December 8, 2016 Share Posted December 8, 2016 addEventHandler("onClientGUIClick",resourceRoot,function ( ) if source == GUIEditor.button[1] then triggerServerEvent("car",localPlayer,411) -- ايدي end end ) Cars = {} addEvent("car",true) addEventHandler("car",root, function ( ID ) if ( Cars[client] ) then destroyElement(Cars[client]) end if ( getPedOccupiedVehicle(client) ) then removePedFromVehicle ( client ) end Cars[client] = createVehicle(ID,-1254.31653, -185.36768, 15.14844) warpPedIntoVehicle ( client, Cars[client] ) end ) 1 Link to comment
Abu-Solo Posted December 8, 2016 Author Share Posted December 8, 2016 39 minutes ago, MR.NaiF-MTA said: addEventHandler("onClientGUIClick",resourceRoot,function ( ) if source == GUIEditor.button[1] then triggerServerEvent("car",localPlayer,411) -- ايدي end end ) Cars = {} addEvent("car",true) addEventHandler("car",root, function ( ID ) if ( Cars[client] ) then destroyElement(Cars[client]) end if ( getPedOccupiedVehicle(client) ) then removePedFromVehicle ( client ) end Cars[client] = createVehicle(ID,-1254.31653, -185.36768, 15.14844) warpPedIntoVehicle ( client, Cars[client] ) 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