03.05.2016, 14:03
Код:
warning 206: redundant test: constant expression is non-zero
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(PRESSING(newkeys, KEY_YES)) //line of warning { if(IsPlayerInAnyVehicle(playerid)) { SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.2); return 1; } } return 1; }