12.09.2012, 01:07
How do I show my score to the screen?
I want to show it with the text "Score: %"
How can I do that?
I want to show it with the text "Score: %"
How can I do that?
"Score:%i", GetPlayerScore(playerid));
//Using zcmd.
COMMAND:myscore(playerid,params[])
{
SendClientMessage(playerid, 0xFF0000, "Score:%i, GetPlayerScore(playerid));
public OnPlayerUpdate(playerid) {
new string[256];
format(string, sizeof(string),"Scores:%d",GetPlayerScore(playerid));
TextDrawSetString(/*yourtextdraw*/,string);
return 1;
}
/*yourtextdraw*/