24.02.2014, 23:31
Did not work, the same thing again:
I have:
So i added the one line:
This is the textdraw on the login screen:
Also, when i did /rcon changemode [TheSameGmName] the login texdraw was the same as the second picture, except only the text was there, not the black background behind the text. This happend at the bottom only. Just wanted to add that incase it helps, but when i restarted completely it was like the second picture. I have no idea what to do here.
I have:
pawn Код:
if (newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
new vid = GetPlayerVehicleID(playerid);
new string[125];format(string,sizeof string,"Fuel:%i",fuel[vid]); //quickly doing a small update on fuel (so it wont jump from 100 to its real value)
TextDrawSetString(td_fuel[playerid],string);
TextDrawShowForPlayer(playerid,td_fuel[playerid]); //showing if an player is a driver or passenger of the ar
TextDrawHideForPlayer(playerid, MainMenuTxtdraw[playerid]);
} else {
TextDrawHideForPlayer(playerid,td_fuel[playerid]); //hiding if a player isnt driving/or an passenger
}
pawn Код:
TextDrawHideForPlayer(playerid, MainMenuTxtdraw[playerid]);
Also, when i did /rcon changemode [TheSameGmName] the login texdraw was the same as the second picture, except only the text was there, not the black background behind the text. This happend at the bottom only. Just wanted to add that incase it helps, but when i restarted completely it was like the second picture. I have no idea what to do here.