[help] Createing On screen scores..
#1

Im not too bad at scripting but ive never worked with this stuff...

basicly i want to textdraw so that i can set the scores for my server on the screen. is there any tutorials for textdraw's? or somone can tell me wat i gota do
Reply
#2

It's pretty simple. Just make the string like format(string, sizeof(string), "Score: %d", GetPlayerScore(playerid)); & use TextDrawSetString(Textdraw, string);
Reply
#3

Use Zamaroht's Textdraw creator filterscript (Search for it)

Define the Textdraw to the player aswell so It shows Your own score, not somebody elses:

example:
pawn Код:
new Text:Textdraw[MAX_PLAYERS];
pawn Код:
Textdraw[playerid] = TextDrawCreate(...);
TextDrawUseBox(Textdraw[playerid],1);

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)