Page 1 of 1

make weapons do other things

PostPosted: Fri Sep 23, 05 7:05 pm
by MainMan
how do i make the weapon do something else when i press the fire button?

eg if you want to do something for the scope or reload button its just 'function scopetoggle ()' or 'function reload()'

but what about the fire button?

PostPosted: Sun Sep 25, 05 1:43 pm
by ~ô¿ô~Nobody~
Code: Select all
function Fire(float value)
{
}


or alternatively for the Altfire

Code: Select all
function AltFire(float value)
{
}

PostPosted: Mon Sep 26, 05 6:57 pm
by MainMan
ahh thats why.. (i was trying function fire() and it said i needed a value or something)