Garry's Mod Wiki

Revision Difference

Weapon:SetNextPrimaryFire#512188

<function name="SetNextPrimaryFire" parent="Weapon" type="classfunc">⤶ <description>⤶ Sets when the weapon can fire again. Time should be based on <page>Global.CurTime</page>.⤶ ⤶ <bug issue="3786">This will fire extra bullets if the time is set to less than <page>Global.CurTime</page>.</bug>⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="time" type="number">Time when player should be able to use primary fire again</arg>⤶ </args>⤶ </function>⤶ ⤶