Help TextDraw
#1

Hi All
I am creating my gm (Roleplay)
And I put the player's level in TextDraw
How Is It Done?
Reply
#2

With strings, check wiki about strings & textdraws.
Reply
#3

pawn Код:
new string[128];
format(string, sizeof(string), "Your level: %d",GetPlayerScore(playerid));
TextDrawSetString(Yourtextdraw, string);
TextDrawShowForPlayer(playerid, Yourtextdraw);
Reply
#4

Quote:
Originally Posted by Razvann
pawn Код:
new string[128];
format(string, sizeof(string), "Your level: %d",GetPlayerScore(playerid));
TextDrawSetString(Yourtextdraw, string);
TextDrawShowForPlayer(playerid, Yourtextdraw);
And where I put it?
Reply
#5

Under OnPlayerSpawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)