Pedro Colto Posted March 31, 2016 Share Posted March 31, 2016 addEventHandler("onClientResourceStart", resourceRoot, function() windowtesting = guiCreateWindow(181, 215, 217, 177, "", false) guiWindowSetSizable(windowtesting, false) gridlistVest = guiCreateGridList(9, 21, 198, 146, false, windowtesting) guiGridListAddColumn(gridlistVest, "Testing", 0.9) guiGridListAddRow(gridlistVest) guiGridListSetItemText(gridlistVest, 0, 1, "equip vest", false, false) end ) Good wanted to put to the player when you double-click " equip vest " he setaria 20 % vest .. what basis can I be using to do this Link to comment
Castillo Posted March 31, 2016 Share Posted March 31, 2016 I think you should post in the Portuguese section, it's really hard to understand what you are trying to achieve. Link to comment
Captain Cody Posted March 31, 2016 Share Posted March 31, 2016 Judging by his script, and what I can under stand - Double click Equip vest -> Receive 20 vest https://wiki.multitheftauto.com/wiki/TriggerServerEvent https://wiki.multitheftauto.com/wiki/SetPedArmor If you cannot figure that out, I'll write a code for it later. 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