[Problem]3dlabelText
#1

Hello, i have a small problem that i cant fix..
PHP код:
    if(newstate == PLAYER_STATE_PASSENGER || newstate == PLAYER_STATE_DRIVER)
    {
         
Update3DTextLabelText(VehicleInfo[car][labelID], COLOR_BRIGHTRED"lala");
    }
    
    if((
oldstate == PLAYER_STATE_PASSENGER && newstate == PLAYER_STATE_ONFOOT) || (oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT))
    {
        if(
VehicleInfo[car][Buyable] == && !strcmp(VehicleInfo[car][CarOwner], "none"true))
        {
            
Update3DTextLabelText(VehicleInfo[car][labelID], COLOR_BRIGHTRED"Public");
           }
        else if(
VehicleInfo[car][Buyable] == && strcmp(VehicleInfo[car][CarOwner], "none"true))
        {
            
Update3DTextLabelText(VehicleInfo[car][labelID], COLOR_ORANGEVehicleInfo[car][CarOwner]);
        }
        else
        {
            
Update3DTextLabelText(VehicleInfo[car][labelID], COLOR_LIGHTGREEN"Buy");
           }
    } 
When I enter the vehicle the label changes to lala but when I exit the vehicle, the label doesn't changes back..
Reply


Messages In This Thread
[Problem]3dlabelText - by ronen4kill - 16.09.2012, 14:16
Re: [Problem]3dlabelText - by ronen4kill - 16.09.2012, 20:46
Re: [Problem]3dlabelText - by clarencecuzz - 17.09.2012, 06:29
Re: [Problem]3dlabelText - by ronen4kill - 17.09.2012, 11:02

Forum Jump:


Users browsing this thread: 2 Guest(s)