AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how do i force a reload (https://forums.alliedmods.net/showthread.php?t=143382)

Max! 11-18-2010 21:50

how do i force a reload
 
my search of the forums yielded nothing. I was wondering if there was a way to force a user to reload without like executing a command liked +reload on them

shadow.hk 11-20-2010 14:20

Re: how do i force a reload
 
PHP Code:

/**
 * Description:        Called when the weapon is reloaded.
 * Forward params:    function(this)
 * Return type:        None.
 * Execute params:    ExecuteHam(Ham_Weapon_Reload, this);
 */
Ham_Weapon_Reload 

PHP Code:

ExecuteHamHam_Weapon_ReloadiWeaponID ); 

Could work?


All times are GMT -4. The time now is 11:19.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.