3D text label bug? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3D text label bug? (
/showthread.php?tid=264007)
3D text label bug? -
Mean - 24.06.2011
Well, I am making a soccer script, so far it works great, I made epic realistic smooth ball rotation, bouncing, teams, goals... I create a 3D text label like this:
pawn Код:
public OnGameModeInit( ) {
Create3DTextLabel( "Team 1 goal!", 0xFF0000FF, 1314.6411,2152.9475,11.0234, 150.0, 0, 0 );
Create3DTextLabel( "Team 2 goal!", 0xFF0000FF, 1376.8228,2151.0891,11.0234, 150.0, 0, 0 );
// Other code...
return 1;
}
And, at first it works, but after some time, it just dissapears. Sometimes team 1 one dissapears, sometimes team 2 one dissapears.
As you can see, there is no text for team 1 goal. ^^
Re: 3D text label bug? -
SpiderWalk - 24.06.2011
pawn Код:
public OnGameModeInit( ) {
{
Create3DTextLabel( "Team 1 goal!", 0xFF0000FF, 1314.6411,2152.9475,11.0234, 150.0, 0);
Create3DTextLabel( "Team 2 goal!", 0xFF0000FF, 1376.8228,2151.0891,11.0234, 150.0, 0);
return 1;
}
Re: 3D text label bug? -
Mean - 24.06.2011
Seems to work fine, thanks.
Re: 3D text label bug? -
SpiderWalk - 24.06.2011
Quote:
Originally Posted by Mean
Seems to work fine, thanks.
|
You are welcome.