AL-SAYED Posted May 17, 2013 Share Posted May 17, 2013 شباب انا سويت قرد لست الحين ابي اذا الماوس أشر على شي من القرد ولست وبعدين ضغط add يصير ان نيترو تركب بالسيارة (الفكشنات) Link to comment
iPrestege Posted May 17, 2013 Share Posted May 17, 2013 -- # Client Side !! addEventHandler "onClientGUIClick" -- Event Handler ! guiGridListGetSelectedItem guiGridListGetItemText triggerServerEvent -- # Server Side !! addEvent addEventHandler addVehicleUpgrade getPedOccupiedVehicle Link to comment
AL-SAYED Posted May 17, 2013 Author Share Posted May 17, 2013 addEvent("ee",true) addEventHandler("ee",root, function( ThePlayer ) local theVehicle = getPedOccupiedVehicle ( thePlayer ) if theVehicle then addVehicleUpgrade ( theVehicle, 1082 ) end end ) سطر 4 باد ارقمنت Link to comment
iPrestege Posted May 17, 2013 Share Posted May 17, 2013 addEvent("ee",true) addEventHandler("ee",root, function( ) local theVehicle = getPedOccupiedVehicle ( source ) if theVehicle then addVehicleUpgrade ( theVehicle, 1082 ) end end ) Link to comment
AL-SAYED Posted May 17, 2013 Author Share Posted May 17, 2013 فيه مشكله انا لو اضغط على اي شي من القريد لست يتركب نفس الجنط Link to comment
iPrestege Posted May 17, 2013 Share Posted May 17, 2013 فيه مشكله انا لو اضغط على اي شي من القريد لست يتركب نفس الجنط ورني الكلنت Link to comment
AL-SAYED Posted May 17, 2013 Author Share Posted May 17, 2013 addEventHandler ("onClientGUIClick", getRootElement(), function() if ( source == GUIEditor.gridlist[1] ) then guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) guiGridListGetItemText ( GUIEditor.gridlist[1], rhA, "Wheels" ) triggerServerEvent("ee",getLocalPlayer()) end end ) Link to comment
iPrestege Posted May 17, 2013 Share Posted May 17, 2013 addEventHandler("onClientGUIClick",GUIEditor.gridlist[1], function( ) if guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) == -1 then return end local value = guiGridListGetItemText ( GUIEditor.gridlist[1], row,col ) if value == "Wheels" then triggerServerEvent("ee",getLocalPlayer()) end end,false ) col = الكولمن حقكـ # row = الرو حقكـ # Link to comment
AL-SAYED Posted May 17, 2013 Author Share Posted May 17, 2013 ما اشتغل addEventHandler("onClientGUIClick",GUIEditor.gridlist[1], function( ) if guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) == -1 then return end local value = guiGridListGetItemText ( GUIEditor.gridlist[1], rhA,"Wheels" ) -- بدلتهم if value == "Wheels" then triggerServerEvent("ee",getLocalPlayer()) end end,false ) Link to comment
iPrestege Posted May 17, 2013 Share Posted May 17, 2013 Wheels = ?? لو تطرح القريد و الكولمن و الرو حقهم افضل اسوية لك ذذ 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