help about drift point
#2

I don't know if your gonna still check this but here you go
Код:
public DriftExit(playerid){ // By Luby
PlayerDriftCancellation[playerid] = 0;


int Float:h;
GetVehicleHealth(GetPlayerVehicleID(playerid),h);
if(DriftPointsNow[playerid]>70 && DriftPointsNow[playerid]<10000 && h==HealthInit[playerid])
GivePlayerMoney(playerid,DriftPointsNow[playerid]*DriftBonus[playerid]);
SetPlayerScore(playerid,DriftPointsNow[playerid]*DriftBonus[playerid]);
TextDrawHideForPlayer(playerid,TDLabels[0]);
TextDrawHideForPlayer(playerid,TDLabels[1]);
TextDrawHideForPlayer(playerid,TDLabels[2]);
TextDrawHideForPlayer(playerid,TDValueDrift[playerid]);
TextDrawHideForPlayer(playerid,TDValueBonus[playerid]);
TextDrawHideForPlayer(playerid,TDValueCash[playerid]);
DriftBonus[playerid]=1;
AutoFixBool[playerid]=true;
SetVehicleHealth(GetPlayerVehicleID(playerid),Heal thInit[playerid]);
SetPlayerScore(playerid, GetPlayerScore(playerid,DriftPointsNow[playerid]+DriftBonus[playerid]*2);
////////////////////////////////////////////////////

DriftPointsNow[playerid] = 0;
}
Tell me if there are any errors or warnings cause im not at home and can't check that.
Reply


Messages In This Thread
help about drift point - by haridz - 01.09.2014, 16:42
Re: help about drift point - by Blazed - 30.09.2014, 03:37

Forum Jump:


Users browsing this thread: 1 Guest(s)