SA-MP Forums Archive
[HELP]TextDraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]TextDraw (/showthread.php?tid=343343)



[HELP]TextDraw - 3RoR - 17.05.2012

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 ?


Re: [HELP]TextDraw - TzAkS. - 17.05.2012

TextDrawSetString


Re: [HELP]TextDraw - 3RoR - 17.05.2012

Hooow ? where to put ?


Re: [HELP]TextDraw - TzAkS. - 17.05.2012

Where do you call it?
Give me codes to that 1+ exp and i will show you how to do it


Re: [HELP]TextDraw - 3RoR - 17.05.2012

y have a timer
pawn Код:
public OneMinute()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
            PlayerInfo[i][pExp]++;
    }
    return 1;
}



Re: [HELP]TextDraw - TzAkS. - 17.05.2012

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;
}



Re: [HELP]TextDraw - 3RoR - 17.05.2012

.......


Re: [HELP]TextDraw - TzAkS. - 17.05.2012

Thats not from this..maybe you created wrong the textdraw or you have another one.


Re: [HELP]TextDraw - 3RoR - 17.05.2012

.......


Re: [HELP]TextDraw - 3RoR - 17.05.2012

helpp someone