SA-MP Forums Archive
Update3DTextLabelText - 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: Update3DTextLabelText (/showthread.php?tid=598216)



Update3DTextLabelText - ayoub001 - 09.01.2016

after samp update to 0.3.7 R2
the Update3DTextLabelText
stopt workin
the text show for 1 sec and it disappear forever

PHP код:
if(PlayerTimingBomb[i] > 1)
            {
                new 
str[200];
                
format(str,200,"%s's Bombs\nExplosion time: %i seconds",GetName(i),PlayerTimingBomb[i]-2);
                
Update3DTextLabelText(PlayerBombText[i],COLOR_3D,str);
                
PlayerTimingBomb[i] --;
            }
            if(
PlayerTimingBomb[i] == 1)
            {
                
BlowPlantedBomb(i);
                
Delete3DTextLabel(PlayerBombText[i]);
                
PlayerTimingBomb[i] =0;
            }