Scripts / [SOLVED] Get the name of the weapon the player is holding

Author
Message
IvanKats
3
Years of Service
User Offline
Joined: 28th Jul 2020
Location: Russia
Posted: 16th Aug 2020 16:05
Is there a function to get the name of the weapon the player is holding?

The author of this post has marked a post as an answer.

Go to answer
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 16th Aug 2020 16:30
This post has been marked by the post author as the answer.
No a function, it is in the global variable: g_PlayerGunName.
Been there, done that, got all the T-Shirts!
PM
IvanKats
3
Years of Service
User Offline
Joined: 28th Jul 2020
Location: Russia
Posted: 17th Aug 2020 12:15
Thanks a lot, AmenMoses!

Login to post a reply

Server time is: 2024-04-25 10:59:38
Your offset time is: 2024-04-25 10:59:38