PDA

View Full Version : [HELP]TextDraw


3RoR
17/05/2012, 09:35 AM
y have a textdraw for and now when the player gets 1+ exp the textdraw isn't updating, how to set update when the player gets +1 exp ?

TzAkS.
17/05/2012, 09:47 AM
TextDrawSetString

3RoR
17/05/2012, 09:48 AM
Hooow ? where to put ?

TzAkS.
17/05/2012, 09:49 AM
Where do you call it?
Give me codes to that 1+ exp and i will show you how to do it

3RoR
17/05/2012, 09:53 AM
y have a timer

public OneMinute()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayerInfo[i][pExp]++;
}
return 1;
}

TzAkS.
17/05/2012, 09:57 AM
Should work

public OneMinute()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayerInfo[i][pExp]++;
new str[16];
format(str,sizeof(str),"Points %d",PlayerInfo[i][pExp]);
TextDrawSetString(TextDrawName,str);
}
return 1;
}

3RoR
17/05/2012, 10:07 AM
.......

TzAkS.
17/05/2012, 10:22 AM
Thats not from this..maybe you created wrong the textdraw or you have another one.

3RoR
17/05/2012, 10:28 AM
.......

3RoR
17/05/2012, 11:14 AM
helpp someone :'(