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

Hi guys again

I want to add in a Race Gamemode this TextDraw, but i dont know how.
How i can do it ??




Is a Checkpoint meter... i think.

Plz people show me with detail or an example. Plz Plz


Sorry my bad English.
Reply
#2


Someone know how i can do this, plz

Or is impossible ?
Reply
#3

new point=11;
point != + 1 => 11;
Reply
#4

?? what is that ?

i dont to understand
Reply
#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
#6


Thanks FUNExtreme i go to see
Reply
#7

Everyone,

Quote:
pawn Код:
new Currentcp[MAX_PLAYERS] = 0;
new string[128];
OnPlayerEnterRaceCheckpoint(playerid)
{
    Currentcp[playerid] ++;
    format(string, sizeof(string), "%d/11", Currentcp[playerid]);
    TextDrawSetString(textdraw, string);
    return 1;
}
-->
pawn Код:
new string[128];
new Currentcp[MAX_PLAYERS];
public OnPlayerEnterRaceCheckpoint(playerid)
{
    Currentcp[playerid]++>11; //But let him step up 11
    format(string, sizeof(string), "%d/11", Currentcp[playerid]);
    TextDrawSetString(textdraw, string);
    return 1;
}
Reply
#8

SakuraBloss,

Sorry, I was not aware of so that you did not meet.
Reply
#9

Quote:
Originally Posted by illay
SakuraBloss,

Sorry, I was not aware of so that you did not meet.
OOPS! Sorry to, im not explain very well, what i want. (my bad English)

Reply
#10

SakuraBloss,

I do not speak on behalf of faultlessly the sassenach
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)