14.11.2014, 20:30
Код:
if(batteries[id][count] > 1000 || batteries[id][count] < 1) { SendClientMessage(playerid, 0xFFFFFFFF, " 1 - 1000!"); return 1; } else batteries[id][count] = c; if(batteries[id][height] > 60 || batteries[id][height] < 10) { SendClientMessage(playerid, 0xFFFFFFFF, "10 - 60!"); return 1; } else batteries[id][height] = h; batteries[id][hvar] = hv; if(batteries[id][windspeed] < 7 || batteries[id][windspeed] > 60) { SendClientMessage(playerid, 0xFFFFFFFF, "7 - 60!"); return 1; } else batteries[id][windspeed] = w; if(batteries[id][interval] < 0.1 || batteries[id][interval] > 4) { SendClientMessage(playerid, 0xFFFFFFFF, "0.01 - 4!"); return 1; }