error 029: invalid expression, assumed zero & warning 202: number of arguments does not match definition
#1

Title Says All

The Define
pawn Код:
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
Code
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)//283
{//284
    if(PRESSED(KEY_YES**))//285
    {//286
        return cmd_sellcar(playerid,"");//287
    }/288
    return 1;//289
}//290
ERROR
Код:
Line (6285) : error 029: invalid expression, assumed zero
Line (6287) : warning 202: number of arguments does not match definition
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)