AL-SAYED Posted May 17, 2013 Posted May 17, 2013 شباب انا سويت قرد لست الحين ابي اذا الماوس أشر على شي من القرد ولست وبعدين ضغط add يصير ان نيترو تركب بالسيارة (الفكشنات)
iPrestege Posted May 17, 2013 Posted May 17, 2013 -- # Client Side !! addEventHandler "onClientGUIClick" -- Event Handler ! guiGridListGetSelectedItem guiGridListGetItemText triggerServerEvent -- # Server Side !! addEvent addEventHandler addVehicleUpgrade getPedOccupiedVehicle
AL-SAYED Posted May 17, 2013 Author 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 باد ارقمنت
iPrestege Posted May 17, 2013 Posted May 17, 2013 addEvent("ee",true) addEventHandler("ee",root, function( ) local theVehicle = getPedOccupiedVehicle ( source ) if theVehicle then addVehicleUpgrade ( theVehicle, 1082 ) end end )
AL-SAYED Posted May 17, 2013 Author Posted May 17, 2013 فيه مشكله انا لو اضغط على اي شي من القريد لست يتركب نفس الجنط
iPrestege Posted May 17, 2013 Posted May 17, 2013 فيه مشكله انا لو اضغط على اي شي من القريد لست يتركب نفس الجنط ورني الكلنت
AL-SAYED Posted May 17, 2013 Author 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 )
iPrestege Posted May 17, 2013 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 = الرو حقكـ #
AL-SAYED Posted May 17, 2013 Author 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 )
iPrestege Posted May 17, 2013 Posted May 17, 2013 Wheels = ?? لو تطرح القريد و الكولمن و الرو حقهم افضل اسوية لك ذذ
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