I have a simple doubt, in a plugin there is a variable that contains the current weapon having a player.
This variable exists for prevent calling get_user_weapon many times, because would be called in events like takedamage, traceattack...
The variable works perfectly in the plugin, buy I have some subplugins that are using get_user_weapon in client_PreThink or other forwards, and the question is
What is more efficient method: calling get_user_weapon or make native with the main plugin to use it instead of get_user_weapon ?
I say get_user_weapon like an example, but the same with is_user_alive, is_user_connected...
Thanks