help about drift point
#1

im using drift point counter i add setplayerscore but the score keep changing it doesnt + the other score.please help


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]);
////////////////////////////////////////////////////

DriftPointsNow[playerid] = 0;
}
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: 2 Guest(s)