Errors
#3

pawn Код:
fCurrentSpeed = player_get_speed(i);
if(PlayerInfo[i][pAdmin] <= 1) switch(Seatbelt[i]) {
case 0: if(fVehSpeed[i] - fCurrentSpeed > 40.0) GetPlayerHealth(i, fExpHealth), SetPlayerHealth(i, fExpHealth - (fVehSpeed[i] - fCurrentSpeed)) / 2.0);
default: if(fVehSpeed[i] - fCurrentSpeed > 40.0) GetPlayerHealth(i, fExpHealth), SetPlayerHealth(i, fExpHealth - ((fVehSpeed[i] - fCurrentSpeed)) / 4.0));
}
Try it.
Reply


Messages In This Thread
Errors - by TheSnaKe - 03.02.2014, 00:32
Re: Errors - by StreetGT - 03.02.2014, 00:34
Re: Errors - by Dignity - 03.02.2014, 00:34
Re: Errors - by TheSnaKe - 03.02.2014, 00:45
Re: Errors - by Dignity - 04.02.2014, 21:25

Forum Jump:


Users browsing this thread: 3 Guest(s)