18.11.2013, 05:39
Something like this?
pawn Код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
new string[128];
PlayerTotalCps[playerid]++;
if(PlayerTotalCps[playerid] < 10)
{
format(string, sizeof(string), "Check points ~w~%d~r~/~w~9", PlayerTotalCps);
TextDrawSetString(cpstats, PlayerTotalCps);
}
else
{
TextDrawSetString(cpstats, "Race Finished");
}
return 1;
}