3nvy Posted February 10, 2012 Share Posted February 10, 2012 Hey guys, I wonder if someone can help me with a script. I'm tring to make a condition like thi: If player have a certain weapon do stuff else do other stuff. I just don't know the command to check if the player has that weapon on is iventory Does anyone know? Thks Link to comment Share on other sites More sharing options...
Silentdagger Posted February 10, 2012 Share Posted February 10, 2012 Pretty sure you want this. .GetItemCount(*****) > 0 Don't quote me on this, but it should check to see if your character has (at least one) of whatever item. Link to comment Share on other sites More sharing options...
3nvy Posted February 11, 2012 Author Share Posted February 11, 2012 It worked like a charm, many thks ;) Link to comment Share on other sites More sharing options...
Recommended Posts