Thread
:
Keydown not working?
View Single Post
RollerBlades
Senior Member
Join Date: Feb 2011
Location: Sweden
06-01-2011 , 15:57 Re: Keydown not working?
#
4
yes i know you made a task in sh_keydown with it saying fire_attack but this itself: fire_attack(id) should be there like this:
case
SH_KEYDOWN
:
{
new
Float
:
delayTime
=
get_pcvar_float
(
pCvarMultiShot
)
if (
delayTime
>=
0.1
)
{
set_task
(
delayTime
,
"fire_attack"
,
id
,
_
,
_
,
"b"
)
}
fire_attack(id)
if (
gPlayerInCooldown
[
id
] )
{
sh_sound_deny
(
id
)
return
}
gUsingLaser = True
}
well you're only using sh_extra_dmg once in the code so i guess you should know the location of that place since it's your ripped code
and about floats and intergers you dont have to delete them if you ripped the code if your a lazy ass. it just makes the code longer and its unecessary
Last edited by RollerBlades; 06-01-2011 at
16:04
.
RollerBlades
View Public Profile
Send a private message to RollerBlades
Find More Posts by RollerBlades