10.11.2010, 12:39
Hello, recently I involved in making game mode...Basically it is TDM on RC Battle field map(interior 10).
I was thinking how to show current score, and i figured out you can do it with TextDraws.
Since me and TextDraw don't get along well...i need help.
I want to place TextDraw on left(like in screen shot below), and want it to display current points for both team(USA and Vietnam).
Screen shot
So far i got to this:
These are score variables.
And this is OnPlayerConnect()
If you can help me to make something like this, i would be really grateful.
I was thinking how to show current score, and i figured out you can do it with TextDraws.
Since me and TextDraw don't get along well...i need help.
I want to place TextDraw on left(like in screen shot below), and want it to display current points for both team(USA and Vietnam).
Screen shot
So far i got to this:
These are score variables.
pawn Code:
new USAscore = 0;
new VIETNAMscore = 0;
pawn Code:
new Text:textDraw;
textDraw = TextDrawCreate(i dont know, the co-ordinates,"nor what to put here");
TextDrawShowForPlayer(playerid,textDraw);