Errors
#1

Removed
Reply
#2

You forgot the ending bracket in "GetTimeAsStringEx(TopRaceTimes[raceid][i])".
Код:
if(GetPlayerLanguage(playerid)==LANG_DE)
	format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s With %s || %s ",i+1,TopRaceDrivers[raceid][i],GetTimeAsStringEx(TopRaceTimes[raceid][i]),GetVehicleModelName(GetVehicleModel));
else
	format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s With %s || %s ",i+1,TopRaceDrivers[raceid][i],GetTimeAsStringEx(TopRaceTimes[raceid][i]),GetVehicleModelName(GetVehicleModel));
SendClientMessageEx(playerid,COLOR_WHITE,string);
top_times=true;
Reply
#3

Removed
Reply
#4

Removed
Reply
#5

Removed
Reply
#6

You need to pass the vehicleid to "GetVehicleModel". Try this:
Код:
if(GetPlayerLanguage(playerid)==LANG_DE)
	format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s With %s || %s ",i+1,TopRaceDrivers[raceid][i],GetTimeAsStringEx(TopRaceTimes[raceid][i]),GetVehicleModelName(GetVehicleModel(GetPlayerVehicleID(playerid))));
else
	format(string,sizeof(string),"{8C831F} #%d - {DBCE40}%s With %s || %s ",i+1,TopRaceDrivers[raceid][i],GetTimeAsStringEx(TopRaceTimes[raceid][i]),GetVehicleModelName(GetVehicleModel(GetPlayerVehicleID(playerid)));
SendClientMessageEx(playerid,COLOR_WHITE,string);
top_times=true;
Reply
#7

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)