Cods fail help
#4

Well then you are checking for the key being pressed incorrectly.

Use this:

pawn Код:
// PRESSED(keys)
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
Then change the line in your code from "if(newkeys == KEY_YES)" to "if(PRESSED(KEY_YES))"
Reply


Messages In This Thread
Cods fail help - by Ryz - 13.10.2014, 16:58
Re: Cods fail help - by Chenko - 13.10.2014, 17:20
Re: Cods fail help - by Ryz - 13.10.2014, 17:40
Re: Cods fail help - by Chenko - 13.10.2014, 18:13
Re: Cods fail help - by Thanos1997 - 13.10.2014, 18:13
Re: Cods fail help - by Vince - 13.10.2014, 18:29
Re: Cods fail help - by Ryz - 14.10.2014, 14:00
Re: Cods fail help - by zaibaslr2 - 14.10.2014, 14:04
Re: Cods fail help - by Ryz - 14.10.2014, 14:28
Re: Cods fail help - by zaibaslr2 - 14.10.2014, 15:29

Forum Jump:


Users browsing this thread: 2 Guest(s)