GetPlayerScore
#1

Hey guys ! this is true code ?

Quote:

new str[100];
TextDrawShowForPlayer(playerid, Score1[playerid]);
format(str,sizeof(str)," %d", GetPlayerScore(playerid));
TextDrawSetString(Score1[playerid], str);

Reply
#2

No, you have to format then show the textdraw.
Reply
#3

how ?
Reply
#4

Quote:
Originally Posted by Rasyidmf
View Post
how ?
Code:
new str[100];
format(str,sizeof(str)," %d", GetPlayerScore(playerid));
TextDrawSetString(Score1[playerid], str);
TextDrawShowForPlayer(playerid, Score1[playerid]);
How hard is it to understand what he said?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)