Jump to content

Weapons in storage + ammo


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...