Yurigarga Posted November 14, 2023 Share Posted November 14, 2023 (edited) DGS = exports.dgs function clientsideResourceStart () local numberList = DGS:dgsCreateComboBox ( 10,270,150,30,"test",false ) local item = DGS:dgsComboBoxAddItem ( numberList ) local myItem = DGS:dgsComboBoxSetItemText ( numberList, item, tostring( math.random(0, 10) ^ 100 ) ) DGS:dgsComboBoxSetItemData( numberList, item, "Test" ) local myItemData = DGS:dgsComboBoxGetItemData( numberList, item ) outputDebugString ( myItemData ) end addEventHandler ( "onClientResourceStart", resourceRoot, clientsideResourceStart ) c.lua:7 call: failed to call 'dgs:dgsComboBoxGetItemData' [string"?"] I'm about to go crazy. Why does it give an error???? WHYYYYY!!!!!????????? Edited November 14, 2023 by Yurigarga Link to comment
Yurigarga Posted November 15, 2023 Author Share Posted November 15, 2023 (edited) I encountered this error because I was using the old version of the DGS script. solved Edited November 15, 2023 by Yurigarga 1 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