29.03.2009, 14:52
Make a variable that increases when you enter a racecheckpoint
Then use it with TextDrawSetString
This code is not meant to be working. It is just to show how it would have to be done. You wont learn by copy/pasting
Then use it with TextDrawSetString
This code is not meant to be working. It is just to show how it would have to be done. You wont learn by copy/pasting
pawn Код:
new Currentcp[MAX_PLAYERS];
new string[128];
OnPlayerEnterRaceCheckpoint(playerid)
{
Currentcp[playerid] ++;
format(string, sizeof(string), "%d/11", Currentcp[playerid]);
TextDrawSetString(textdraw, string);
return 1;
}