Sonst einer eine Idee wie ich das heller mache? (Texture Studio)
http://prntscr.com/jafzqr
Beiträge von Jameso
-
-
Sieht von innen genauso aus, hilft auch nicht...
-
Ja hab es schon hinbekommen danke!♥
Uhm, weil ich eine kleine Frage habe stelle ich die mal hier
http://prntscr.com/ja0hbt
Der Türrahmen ist ziemlich dunkel habe allerdings auch schon probiert es heller zu machen aber es geht nicht, kann ich was anderes tun? -
Ne ist nicht die, uhm kann ich irgendwie die Texturen herausfinden weil habe diese schon benutzt
-
Suche diese Wand Textur,
http://prntscr.com/j9weaa -
Habe diese dementsprechend jetzt so genant, Problem besteht weiterhin, Der Log steht im Sammelthread noch habe deine Nachricht vorher erst gelesen.
Aber im Log steht auch nur das, dass Plugin geladen wurde.Codeif((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { new string[32], idx = GetVehicleModel(GetPlayerVehicleID(playerid)) - 400; format(string, sizeof(string), "%s", fuelName[vehDefaultData[idx][e_fuelType]]); PlayerTextDrawSetString(playerid, textdraw[4][playerid], string); }
Das ist das Problem habe das raus genommen und es geht scheinbar wieder, mache ich was falsch beim Anzeigen vom Tank?
Code#define FT_DIESEL 0 #define FT_BENZIN 1 #define FT_KEROSIN 2 #define FT_ETHANOL 3 enum vehDefaultDataEnum { e_fuelType, e_maxFuel };
-
Code
Alles anzeigen---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.9-R1, (C)2005-2015 SA-MP Team [20:49:57] [20:49:57] Server Plugins [20:49:57] -------------- [20:49:57] Loading plugin: sscanf [20:49:57] [20:49:57] =============================== [20:49:57] sscanf plugin loaded. [20:49:57] Version: 2.8.2 [20:49:57] (c) 2012 Alex "Y_Less" Cole [20:49:57] =============================== [20:49:57] Loaded. [20:49:57] Loading plugin: crashdetect [20:49:57] CrashDetect plugin 4.19 [20:49:57] Loaded. [20:49:57] Loading plugin: streamer [20:49:57] *** Streamer Plugin v2.9.3 by Incognito loaded *** [20:49:57] Loaded. [20:49:57] Loading plugin: mysql [20:49:57] >> plugin.mysql: R41-4 successfully loaded. [20:49:57] Loaded. [20:49:57] Loaded 4 plugins. [20:49:57] [20:49:57] Filterscripts [20:49:57] --------------- [20:49:57] Loading filterscript 'gl_realtime.amx'... [20:49:57] Loaded 1 filterscripts. [20:49:57] [20:49:57] [20:49:57] [20:49:57] [20:49:57] XXX [20:49:57] Number of vehicle models: 11
-
Ja habe es hinbekommen wusste nicht was gemeint war danke♥
Code
Alles anzeigenif((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { PlayerTextDrawShow(playerid, textdraw[0][playerid]); PlayerTextDrawShow(playerid, textdraw[1][playerid]); PlayerTextDrawShow(playerid, textdraw[2][playerid]); PlayerTextDrawShow(playerid, textdraw[3][playerid]); PlayerTextDrawShow(playerid, textdraw[4][playerid]); PlayerTextDrawShow(playerid, textdraw[5][playerid]); } if((oldstate == PLAYER_STATE_DRIVER) || (oldstate == PLAYER_STATE_PASSENGER)) { PlayerTextDrawHide(playerid, textdraw[0][playerid]); PlayerTextDrawHide(playerid, textdraw[1][playerid]); PlayerTextDrawHide(playerid, textdraw[2][playerid]); PlayerTextDrawHide(playerid, textdraw[3][playerid]); PlayerTextDrawHide(playerid, textdraw[4][playerid]); PlayerTextDrawHide(playerid, textdraw[5][playerid]); } if((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { new string[32], idx = GetVehicleModel(GetPlayerVehicleID(playerid)) - 400; format(string, sizeof(string), "%s", carNames[idx]); PlayerTextDrawSetString(playerid, textdraw[2][playerid], string); } if((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { new string[32], idx = GetVehicleModel(GetPlayerVehicleID(playerid)) - 400; format(string, sizeof(string), "%s", fuelName[vehDefaultData[idx][e_fuelType]]); PlayerTextDrawSetString(playerid, textdraw[4][playerid], string); } //AB HIER GEHT GARNICHTS ALSO DAS HIER DRUNTER!! if(newstate == PLAYER_STATE_DRIVER && pInfo[playerid][pAutoschein] ==1) { new vid = GetPlayerVehicleID(playerid); for(new i = 0; i < sizeof(Autohausauto1); i++) { if(vid == Autohausauto1[i]) { new string[200]; format(string, sizeof(string), "{FFFFFF}Informationen zum {8B41FF}%s{FFFFFF}: \n {8B41FF}•{FFFFFF}Preis:$%d\n {8B41FF}•{FFFFFF}Tankvolumen: 50Liter\n {8B41FF}•{FFFFFF}Kraftstoff: Ethanol",Autohausauto1_name[i], Autohausauto1_preis[i]); ShowPlayerDialog(playerid, DIALOG_AUTOHAUS1, DIALOG_STYLE_MSGBOX, "{8B41FF}Los Santos exquisit Autohaus", string, "Kaufen", "Abbrechen"); } } }
Seitdem ich diese Sachen ganz oben unter onplayerstatechange habe funktionieren alle Sachen darunter nicht
//EDIT das kann auch der Grund sein warum er mir nicht den Treibstoff Namen sagt und da garnichts steht
-
-
-
Ich verstehe das ja nicht weil es ja so schon nicht geht, also ich habe keine Variable die mir anzeigt wieviel Tank er überhaupt hat nur was der maximale Tankwert ist
Habe hier was versucht aber bei der Tankart zeigt er mir garnichts an, CarNames funktioniert ja.
Code
Alles anzeigenif((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { new string[32], idx = GetVehicleModel(GetPlayerVehicleID(playerid)) - 400; format(string, sizeof(string), "%s", carNames[idx]); PlayerTextDrawSetString(playerid, textdraw[2][playerid], string); } if((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { new string[32], idx = GetVehicleModel(GetPlayerVehicleID(playerid)) - 400; format(string, sizeof(string), "%s", fuelName[vehDefaultData[idx][e_fuelType]]); PlayerTextDrawSetString(playerid, textdraw[4][playerid], string); }
-
Ich will aber nicht das es so riesig ist soll ja so sein wie es halt ist
& danke für die verbesserung vom Textdraw!♥ -
Code
Alles anzeigenforward sekunde1(); public sekunde1() { for(new i=0; i<MAX_PLAYERS; i++) { if(!IsPlayerConnected(i) && !IsPlayerInAnyVehicle(i)) continue; new string[128], modelid = GetVehicleModel(GetPlayerVehicleID(i)), idx = modelid-400; format(string, sizeof(string), "%d/%dLiter", vehDefaultData[idx][e_maxFuel]); PlayerTextDrawSetString(i, textdraw[5][i], string); } return true; }
Hab auch einen Timer erstellt aber er zeigt mir nur 95Liter an z.b und wie berechne ich den verbrauch also wie ziehe ich dem 1 Liter ab pro Timer Aufruf und es muss doch auch geprüft werden ob der Motor an ist oder?
-
Aber _ sieht hässlich aus gibt es da nicht eine andere Lösung das da wirklich ein Leerzeichen ist?
-
Danke dir!♥
Wenn dort Wörter mit Leerzeichen sind dann ist das so
Hotring Racer ( so eigentlich )
Hotring
Racer ( so zeigt er es ) -
Code
public OnPlayerConnect(playerid) { PlayerTextDrawShow(playerid, textdraw[0][playerid]); PlayerTextDrawShow(playerid, textdraw[1][playerid]); PlayerTextDrawShow(playerid, textdraw[2][playerid]); PlayerTextDrawShow(playerid, textdraw[3][playerid]); PlayerTextDrawShow(playerid, textdraw[4][playerid]); PlayerTextDrawShow(playerid, textdraw[5][playerid]);
Geht immer noch nicht
-
Code
Alles anzeigenpublic OnPlayerStateChange(playerid, newstate, oldstate) { if((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { PlayerTextDrawShow(playerid, textdraw[0][playerid]); PlayerTextDrawShow(playerid, textdraw[1][playerid]); PlayerTextDrawShow(playerid, textdraw[2][playerid]); PlayerTextDrawShow(playerid, textdraw[3][playerid]); PlayerTextDrawShow(playerid, textdraw[4][playerid]); PlayerTextDrawShow(playerid, textdraw[5][playerid]); } if((oldstate == PLAYER_STATE_DRIVER) || (oldstate == PLAYER_STATE_PASSENGER)) { PlayerTextDrawHide(playerid, textdraw[0][playerid]); PlayerTextDrawHide(playerid, textdraw[1][playerid]); PlayerTextDrawHide(playerid, textdraw[2][playerid]); PlayerTextDrawHide(playerid, textdraw[3][playerid]); PlayerTextDrawHide(playerid, textdraw[4][playerid]); PlayerTextDrawHide(playerid, textdraw[5][playerid]); }
Code
Alles anzeigenfor(new i=0; i<MAX_PLAYERS; i++) { textdraw[2][i] = CreatePlayerTextDraw(i, 561.000000, 354.000000, ""); PlayerTextDrawFont(i, textdraw[2][i], 2); PlayerTextDrawLetterSize(i, textdraw[2][i], 0.183329, 1.300001); PlayerTextDrawTextSize(i, textdraw[2][i], 400.000000, 17.000000); PlayerTextDrawSetOutline(i, textdraw[2][i], 1); PlayerTextDrawSetShadow(i, textdraw[2][i], 4); PlayerTextDrawAlignment(i, textdraw[2][i], 2); PlayerTextDrawColor(i, textdraw[2][i], -1); PlayerTextDrawBackgroundColor(i, textdraw[2][i], 255); PlayerTextDrawBoxColor(i, textdraw[2][i], 50); PlayerTextDrawUseBox(i, textdraw[2][i], 0); PlayerTextDrawSetProportional(i, textdraw[2][i], 1); PlayerTextDrawSetSelectable(i, textdraw[2][i], 0); }
CodePlayerTextDrawHide(playerid, textdraw[0][playerid]); PlayerTextDrawHide(playerid, textdraw[1][playerid]); PlayerTextDrawHide(playerid, textdraw[2][playerid]); PlayerTextDrawHide(playerid, textdraw[3][playerid]); PlayerTextDrawHide(playerid, textdraw[4][playerid]); PlayerTextDrawHide(playerid, textdraw[5][playerid]);
-
Habe alles umgeändert geht trotzdem nicht woran liegt es wohl?
-
Habe gemerkt das ich zu wenig Informationen angegeben habe, eigentlich müsste er mir den Dialog anzeigen macht er aber nicht.
Ganz Oben
OnGameModeInit
Code
Alles anzeigenfor(new i=0; i<MAX_PLAYERS; i++) { textdraw_0[i] = CreatePlayerTextDraw(i, 633.000000, 358.000000, "NIX"); PlayerTextDrawFont(i, textdraw_0[i], 1); PlayerTextDrawLetterSize(i, textdraw_0[i], 1.491665, 0.699992); PlayerTextDrawTextSize(i, textdraw_0[i], 491.500000, 34.500000); PlayerTextDrawSetOutline(i, textdraw_0[i], 0); PlayerTextDrawSetShadow(i, textdraw_0[i], 0); PlayerTextDrawAlignment(i, textdraw_0[i], 1); PlayerTextDrawColor(i, textdraw_0[i], -256); PlayerTextDrawBackgroundColor(i, textdraw_0[i], 255); PlayerTextDrawBoxColor(i, textdraw_0[i], 106); PlayerTextDrawUseBox(i, textdraw_0[i], 1); PlayerTextDrawSetProportional(i, textdraw_0[i], 1); PlayerTextDrawSetSelectable(i, textdraw_0[i], 0); }
OnPlayerDisconnect
Code
Alles anzeigenpublic OnPlayerStateChange(playerid, newstate, oldstate) { if((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { PlayerTextDrawShow(playerid, textdraw_0[playerid]); PlayerTextDrawShow(playerid, textdraw_1[playerid]); PlayerTextDrawShow(playerid, textdraw_2[playerid]); PlayerTextDrawShow(playerid, textdraw_3[playerid]); PlayerTextDrawShow(playerid, textdraw_4[playerid]); PlayerTextDrawShow(playerid, textdraw_5[playerid]); } if((oldstate == PLAYER_STATE_DRIVER) || (oldstate == PLAYER_STATE_PASSENGER)) { PlayerTextDrawHide(playerid, textdraw_0[playerid]); PlayerTextDrawHide(playerid, textdraw_1[playerid]); PlayerTextDrawHide(playerid, textdraw_2[playerid]); PlayerTextDrawHide(playerid, textdraw_3[playerid]); PlayerTextDrawHide(playerid, textdraw_4[playerid]); PlayerTextDrawHide(playerid, textdraw_5[playerid]); }
Und das unter StateChange
-
Habe alle Textdraws jetzt komplett auf playertextdraws geändert aber irgendwie wenn ich in ein Auto steige passiert nichts
Code
Alles anzeigenif((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)) { PlayerTextDrawShow(playerid, textdraw_0[playerid]); PlayerTextDrawShow(playerid, textdraw_1[playerid]); PlayerTextDrawShow(playerid, textdraw_2[playerid]); PlayerTextDrawShow(playerid, textdraw_3[playerid]); PlayerTextDrawShow(playerid, textdraw_4[playerid]); PlayerTextDrawShow(playerid, textdraw_5[playerid]); } if((oldstate == PLAYER_STATE_DRIVER) || (oldstate == PLAYER_STATE_PASSENGER)) { PlayerTextDrawHide(playerid, textdraw_0[playerid]); PlayerTextDrawHide(playerid, textdraw_1[playerid]); PlayerTextDrawHide(playerid, textdraw_2[playerid]); PlayerTextDrawHide(playerid, textdraw_3[playerid]); PlayerTextDrawHide(playerid, textdraw_4[playerid]); PlayerTextDrawHide(playerid, textdraw_5[playerid]); }