17.05.2015, 20:12
Hello i have this warning: "warning 213: tag mismatch" on this line: if (fuel[vid] > 100.0) fuel[vid] = 100.0;
Here is more lines:
Here is more lines:
Код:
if(PlayerInfo[playerid][pCash] >= 3000) { if(IsPlayerInRangeOfPoint(playerid, 10.0, 2149.8328,2748.2905,10.5474)) F1 -= 10; else if(IsPlayerInRangeOfPoint(playerid, 10.0, 1944.1652,-1769.8917,13.1157)) F2 -= 10; else if(IsPlayerInRangeOfPoint(playerid, 10.0, 2116.6611,922.4604,10.5474)) F3 -= 10; else if(IsPlayerInRangeOfPoint(playerid, 10.0, 2204.3835,2473.3994,10.5474)) F4 -= 10; fuel[vid] = fuel[vid] +10; if (fuel[vid] > 100.0) fuel[vid] = 100.0; GivePlayerMoney(playerid, -3000); SendClientMessage(playerid,COLOR_YELLOW,"Ти добави 10 литра бензин на твоето превозно средство и това ти струваше $3000!"); } else { SendClientMessage(playerid, COLOR_GRAD1,"Нямаш достатъчно пари!"); }