How can i fix my key detecting script.
#1

I am trying to make a script so when someone moves forward it replenishes their health, then when they move backwards it deletes 1 health, then side to side gives/removes armor
but it does not work correctly...


pawn Код:
if((oldkeys & KEY_UP) && !(newkeys & KEY_UP))


thats one line, please help me.
Reply


Messages In This Thread
How can i fix my key detecting script. - by kin - 26.06.2011, 05:40
Re: How can i fix my key detecting script. - by [HiC]TheKiller - 26.06.2011, 06:11
Re: How can i fix my key detecting script. - by kin - 26.06.2011, 07:34

Forum Jump:


Users browsing this thread: 1 Guest(s)