08.08.2015, 10:18
My error
My code:
help my
PHP код:
C:\Documents and Settings\Admin\Desktop\VietOl 1.2\gamemodes\vnit.pwn(21533) : warning 206: redundant test: constant expression is non-zero
PHP код:
if ((oldkeys & KEY_FIRE) && (newkeys & KEY_CROUCH))
{
new weapon = GetPlayerWeapon(playerid);
if(weapon == 24,25,27,22)
{
ApplyAnimation(playerid,"GYMNASIUM","gym_tread_falloff",1.0,0,0,0,0,0);
//GameTextForPlayer(playerid, "~r~Stop c-bug !", 5000, 1);
}
}