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

Author
Message
IvanKats
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
4
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
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: 2021-01-28 05:15:38
Your offset time is: 2021-01-28 05:15:38