GetPlayerWeaponState

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search

getPlayerWeaponState

Since 0.1.4 (in development; not in public 0.1.3).

Server function: table or false getPlayerWeaponState(playerId). Separate observed melee and ranged slots, freshness and pending requests.

See Weapon control for the full contract, return values, lifecycle, limitations and examples.