3D text label bug?
#1

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. ^^
Reply
#2

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;
}
Reply
#3

Seems to work fine, thanks.
Reply
#4

Quote:
Originally Posted by Mean
Посмотреть сообщение
Seems to work fine, thanks.
You are welcome.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)