info.txt has written
- playerweapons(id) Return a table containing the
types of all items carried by
this player
types of all items carried by
this player
a table is like an array. you can iterate through it to check if it contains the type id of a certain weapon