30.01.2013, 00:49
hi my Textdraw Change color's if i Esc go back to game changes the colors of the textdraw
// MissionText TextDraw setup APlayerData[playerid][MissionText] = TextDrawCreate(320.0, 430.0, " "); // Setup the missiontext at the bottom of the screen TextDrawAlignment(APlayerData[playerid][MissionText], 2); // Align the missiontext to the center TextDrawFont(APlayerData[playerid][MissionText],2); TextDrawLetterSize(APlayerData[playerid][MissionText],0.260000, 1.000000);// TextDrawUseBox(APlayerData[playerid][MissionText], 1); // Set the missiontext to display inside a box TextDrawSetOutline(APlayerData[playerid][MissionText], 1); TextDrawBoxColor(APlayerData[playerid][MissionText], 193); // Set the box color of the missiontext TextDrawSetProportional(APlayerData[playerid][MissionText], 1); TextDrawColor(APlayerData[playerid][MissionText], -1);
i like the esc color better how to change it that?
Код:
// MissionText TextDraw setup APlayerData[playerid][MissionText] = TextDrawCreate(320.0, 430.0, " "); // Setup the missiontext at the bottom of the screen TextDrawAlignment(APlayerData[playerid][MissionText], 2); // Align the missiontext to the center TextDrawFont(APlayerData[playerid][MissionText],2); TextDrawLetterSize(APlayerData[playerid][MissionText],0.260000, 1.000000);// TextDrawUseBox(APlayerData[playerid][MissionText], 1); // Set the missiontext to display inside a box TextDrawSetOutline(APlayerData[playerid][MissionText], 1); TextDrawBoxColor(APlayerData[playerid][MissionText], 193); // Set the box color of the missiontext TextDrawSetProportional(APlayerData[playerid][MissionText], 1); TextDrawColor(APlayerData[playerid][MissionText], -1); |
i like the esc color better how to change it that?
Код:
// MissionText TextDraw setup APlayerData[playerid][MissionText] = TextDrawCreate(320.0, 430.0, " "); // Setup the missiontext at the bottom of the screen |
// Also destroy the missiontext TextDraw for this player TextDrawDestroy(APlayerData[playerid][MissionText]);
TextDrawBoxColor(APlayerData[playerid][MissionText], 193);
TextDrawBoxColor(APlayerData[playerid][MissionText], 386);