ThaPwned / WCS

Warcraft: Source using Source.Python to be faster, expandable, and flexible
GNU General Public License v3.0
30 stars 23 forks source link

cant get player weapon #15

Closed msmaiaa closed 4 years ago

msmaiaa commented 4 years ago

So, basically when a race tries to get the enemy weapon info, it returns an error in the console code: es wcsx get weapon wcs_wpn server_var(wcs_player) Screenshot_30 I was looking on the weapon lib and i saw that i need to pass an attribute like "weapon name" or "weapon maxammo" and i couldnt make it work, what can i do? code: es wcsx get weapon,name wcs_wpn server_var(wcs_player) Screenshot_31

ThaPwned commented 4 years ago

Thanks for reporting! The first exception is fixed in the latest version of WCS. The other exception, however, you need to wait for Ayuto to accept a PR for the EventScripts Emulator for it to be fixed.