Triggering a weapon clientside
I have a script up and running that detects when a key is pressed. I have done this:
PHP Code:
For some reason, it is refusing to work. Is there some sort of function that returns a weapon object? Also, the key detection is working fine. EDIT: Tried findWeapon() with no luck. |
Try:
PHP Code:
PHP Code:
Make sure it's a public function. |
Quote:
|
All times are GMT +2. The time now is 04:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.