Die anzeige von fahrzeug ist jz ausgeblendet...
was muss ich ändern?
So das ist jz bei OnPlayerConnect:
Textdraw6[playerid] = CreatePlayerTextDraw(playerid, 140.000000, 357.000000, "Fahrzeug: Infernus");
PlayerTextDrawBackgroundColor(playerid, Textdraw6 [playerid], 255);
PlayerTextDrawFont(playerid ,Textdraw6 [playerid], 3);
PlayerTextDrawLetterSize(playerid ,Textdraw6 [playerid], 0.250000, 1.000000);
PlayerTextDrawColor(playerid ,Textdraw6 [playerid], -1);
PlayerTextDrawSetOutline(playerid ,Textdraw6 [playerid], 0);
PlayerTextDrawSetProportional(playerid ,Textdraw6 [playerid], 1);
PlayerTextDrawSetShadow(playerid ,Textdraw6 [playerid], 1);
PlayerTextDrawSetSelectable(playerid ,Textdraw6 [playerid], 0);
Und das bei OnPlayerStateChange:
if(oldstate == PLAYER_STATE_DRIVER)
{
new string[32];//Sollte völlig reichen
format(string,sizeof string,"Fahrzeug: %s",PlayerVehicle[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
PlayerTextDrawSetString(playerid, Textdraw6[playerid], string);
PlayerTextDrawHide(playerid, Textdraw6[playerid]);
TextDrawHideForPlayer(playerid, Textdraw7[playerid]);
PlayerTextDrawHide(playerid, Textdraw8[playerid]);
PlayerTextDrawHide(playerid, Textdraw9[playerid]);
PlayerTextDrawHide(playerid, Textdraw10[playerid]);
PlayerTextDrawHide(playerid, Textdraw11[playerid]);
PlayerTextDrawHide(playerid, Textdraw12[playerid]);
PlayerTextDrawHide(playerid, Textdraw13[playerid]);
}