scaryface87 Posted July 31, 2014 Share Posted July 31, 2014 Hello , I would like to see the players weapon + ammo in the collum I've created collums ; guiGridListAddColumn(myGridList3, "weapon", 0.5) guiGridListAddColumn(myGridList3, "ammo", 0.5) I tought something like this but its not working somehow ammount = guiGridListAddColumn(myGridList2, "ammo", 0.5) local row = guiGridListAddRow ( myGridList2 ) guiGridListSetItemText ( myGridList2, row, amount, getPlayerTotalAmmo ( player), false, false ) expected string at arg 4 of guigridlistsetitemtext Link to comment
TAPL Posted July 31, 2014 Share Posted July 31, 2014 Your grid list variable is different in both code. player is not defined anywhere at line 4 on second code. 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