Hiding a 3d Text label
#5

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
Text labels and text draws are completely different. The only way you can hide a text label is by either deleting it, making the text blank, or giving the color 0 alpha.
ok here is the new onpublicstatechange line

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) // Player entered a vehicle as a driver or passenger
    {
        Update3DTextLabelText(vpVehicleText, 0xFF840000, "The High Life");
    }
Now i'm getting a warning message on compile "warning 213: tag mismatch" again.. I'm not sure what i'm doing wrong here
Reply


Messages In This Thread
Hiding a 3d Text label - by Coz - 20.07.2013, 18:37
Re: Hiding a 3d Text label - by SuperViper - 20.07.2013, 18:46
Re: Hiding a 3d Text label - by Coz - 20.07.2013, 18:51
Re: Hiding a 3d Text label - by Vampr - 20.07.2013, 18:55
Re: Hiding a 3d Text label - by Coz - 20.07.2013, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)