[SOLVED, Thanks guys] TextDraw / CheckPoint Indicator ??
#5

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
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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)