Help with SpeedBoost
#8

Quote:
Originally Posted by Hoss
Посмотреть сообщение
Try this:

pawn Код:
public OnPlayerUpdate(playerid)
{
    new Text3D:text; // variables
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    if(Boost[playerid] == 1)
    {
    text = Create3DTextLabel( "{00FF00}Boost:Online", 0xFF0000AA, 0.0, 0.0,0.0, 50.0, 0, 1 ); // Create3D
    Attach3DTextLabelToVehicle( text, vehicleid, 0.0, 0.0, 0.7);// Attach3D
    Update3DTextLabelText(text, 0xFFFFFFFF, "{00FF00}Boost:Online");
    }
    else
    {
   
    text = Create3DTextLabel( "{00FF00}Boost:{FF0000}Offline", 0xFF0000AA, 0.0, 0.0,0.0, 50.0, 0, 1 ); // Create3D
    Attach3DTextLabelToVehicle( text, vehicleid, 0.0, 0.0, 0.7);// Attach3D
    Update3DTextLabelText(text, 0xFFFFFFFF, "{00FF00}Boost:{FF0000}Offline");
    }
    }
    else
    {
    DeletePlayer3DTextLabel(playerid,Text3D:text);
    }
    return 1;
}
Got the same error.
Reply


Messages In This Thread
Help with SpeedBoost - by Gamer_007 - 22.11.2012, 02:25
Re: Help with SpeedBoost - by -=Dar[K]Lord=- - 22.11.2012, 02:41
Re: Help with SpeedBoost - by Gamer_007 - 22.11.2012, 04:04
Re: Help with SpeedBoost - by Gamer_007 - 22.11.2012, 05:53
Re: Help with SpeedBoost - by Hoss - 22.11.2012, 05:59
Re: Help with SpeedBoost - by Scott Zulkifli - 22.11.2012, 06:00
Re: Help with SpeedBoost - by Gamer_007 - 22.11.2012, 06:19
Re: Help with SpeedBoost - by Gamer_007 - 22.11.2012, 12:38
Re: Help with SpeedBoost - by -=Dar[K]Lord=- - 22.11.2012, 14:10

Forum Jump:


Users browsing this thread: 2 Guest(s)