Forum

> > CS2D > Scripts > playerweapons(id)
Forums overviewCS2D overview Scripts overviewLog in to reply

English playerweapons(id)

6 replies
To the start Previous 1 Next To the start

old playerweapons(id)

MikuAuahDark
User Off Offline

Quote
so i look at www.cs2d.com and view a lua command, but something missing, where is a playerweapons command? but before 0.1.2.0 i can see playerweapons command at sys/lua/info.txt but now i can't see it. look like missing. so where is a playerweapons commands? i still have info.txt with full of commands at 0.1.2.0 Pre-Release
info.txt has written
- playerweapons(id)          Return a table containing the types of all items carried by this player

questions:
1. is a playerweapons(id) is still exists?
2. if still exists where is it?

old Re: playerweapons(id)

Flacko
User Off Offline

Quote
user MikuAuahDark has written
1. is a playerweapons(id) is still exists?
2. if still exists where is it?


Try it yourself:
1
print(type(playerweapons))
It should print 'function' in your console.
If it was removed then it will print 'nil'
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview