<TextDraw Update>
#1

Just made a textdraw, which shows score. I got put it as string, but needs to update.It just shows as "Score : 0"
Код:
public OnPlayerSpawn(playerid)
{
	
     
	new string[46];
	format(string,sizeof(string),"Score : %d", GetPlayerScore(playerid));
    TextDrawSetString(Text:Textdraw1, string);
    TextDrawHideForPlayer(playerid, Text:Textdraw1);
    TextDrawShowForPlayer(playerid, Text:Textdraw1);
    return 1;
}
Does someone how to make it updates? cause I just know how to do it with normal score :S.
Reply


Messages In This Thread
<TextDraw Update> - by xfelipex - 08.08.2010, 01:27
Re: <TextDraw Update> - by Toni - 08.08.2010, 01:29
Re: <TextDraw Update> - by (.Aztec); - 08.08.2010, 01:31
Re: <TextDraw Update> - by xfelipex - 08.08.2010, 01:31
Re: <TextDraw Update> - by xfelipex - 08.08.2010, 01:36
Re: <TextDraw Update> - by Toni - 08.08.2010, 01:37

Forum Jump:


Users browsing this thread: