Die eigenen Fahrzeuge werden nicht angezeigt?
Hast du die MySQL daten beim Handy eingetragen?
ja habe ich trotzdem gehts nicht
Die eigenen Fahrzeuge werden nicht angezeigt?
Hast du die MySQL daten beim Handy eingetragen?
ja habe ich trotzdem gehts nicht
Hat irgendwer Lösungen?
Hat bei mir damals auch nicht geklappt.
hast du es entbuggt?
<p><p>
</p></p>
Ich habe nichts an dem Script verändert außer das handy Memo entbuggt.
debuglog geht grad nicht leider
= Multi Theft Auto: San Andreas v1.5.2 [64 bit]
==================================================================
[2016-06-22 21:30:33] Resource 'acpanel' requests some acl rights. Use the command 'aclrequest list acpanel'
[2016-06-22 21:30:34] WARNING: Ignoring duplicate client file in resource 'bfreallife': 'data/images/skins/247.png'
[2016-06-22 21:30:34] WARNING: Ignoring duplicate client file in resource 'la_reallife': 'images/header.png'
[2016-06-22 21:30:34] WARNING: Ignoring duplicate client file in resource 'la_reallife': 'fonts/COPRGTB.TTF'
[2016-06-22 21:30:34] WARNING: Ignoring duplicate client script file in resource 'la_reallife': 'minigames/tetris/classes_client.lua'
[2016-06-22 21:30:34] WARNING: Duplicate script file in resource 'reallife2': 'carsys/veh_dmg.lua'
[2016-06-22 21:30:34] WARNING: Ignoring duplicate client script file in resource 'reallife2': 'fun/shader_cinema_fl/c_cinema.lua'
[2016-06-22 21:30:34] WARNING: Duplicate script file in resource 'reallife2': 'shops/24-7/24-7_server.lua'
[2016-06-22 21:30:35] WARNING: Missing 'src' attribute from 'map' node of 'meta.xml' for resource 'rl', ignoring
[2016-06-22 21:30:35] WARNING: Duplicate script file in resource 'rl': 'carsys/veh_dmg.lua'
[2016-06-22 21:30:35] WARNING: Duplicate script file in resource 'rl': 'fraktionen/swat/swatgate.lua'
[2016-06-22 21:30:35] WARNING: Duplicate script file in resource 'rl': 'gangs/gangs_server.lua'
[2016-06-22 21:30:35] WARNING: Duplicate script file in resource 'rl': 'places/disco/disco.lua'
[2016-06-22 21:30:35] ERROR: Not processing resource 'gps' as it has duplicates on different paths:
Path #1: "resources/gps"
Path #2: "resources/[gameplay]/gps"
[2016-06-22 21:30:35] Resources: 220 loaded, 0 failed
[2016-06-22 21:30:35] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>"
[2016-06-22 21:30:35] Starting resources...
[2016-06-22 21:30:35] Server minclientversion is now 1.5.2-9.08003.0
[2016-06-22 21:30:36] ERROR: Couldn't find resource gps. Check it exists.
[2016-06-22 21:30:36] ERROR: la_reallife missions/area51/area51ai/area51_ai_client.lua is invalid. Please re-compile at http://luac.mtasa.com/
[2016-06-22 21:30:36] ERROR: Bad/missing 'posX' attribute in <object> (line 77)
[2016-06-22 21:30:36] 45667950
[2016-06-22 21:30:36] WARNING: la_reallife/anzeigen/newsbox.lua:149: Expected positive value, got negative. This warning may be an error in future versions.
[2016-06-22 21:30:36] Es wurden 10 Autohaeuser gefunden!
[2016-06-22 21:30:37] Bot erstellt.
[2016-06-22 21:30:37] Bot erstellt.
[2016-06-22 21:30:37] Bot erstellt.
[2016-06-22 21:30:37] Bot erstellt.
[2016-06-22 21:30:37] Bot erstellt.
[2016-06-22 21:30:37] WARNING: la_reallife/outdoor/npcs.lua:172: Expected positive value, got negative. This warning may be an error in future versions.
[2016-06-22 21:30:37] WARNING: la_reallife/script.lua:97: Expected positive value, got negative. This warning may be an error in future versions.
[2016-06-22 21:30:37] Es wurden keine Mails gefunden
[2016-06-22 21:30:37] INFO: Updatetext geladen!
[2016-06-22 21:30:37] [Handy]MySQL handler 1 accepted!
[2016-06-22 21:30:37] Gamemode 'ERL - Reallife' started.
[2016-06-22 21:30:37] WARNING: la_reallife/fraktionen/gangareas.lua:124: Expected positive value, got negative. This warning may be an error in future versions.
[2016-06-22 21:30:37] WARNING: la_reallife/fraktionen/gangareas.lua:125: Expected positive value, got negative. This warning may be an error in future versions.
[2016-06-22 21:30:37] Server started and is ready to accept connections!
[2016-06-22 21:30:37] To stop the server, type 'shutdown' or press Ctrl-C
[2016-06-22 21:30:37] Type 'help' for a list of commands.
[2016-06-22 21:30:37] Es wurden 0 Hanfpflanzen gefunden!
[2016-06-22 21:30:42] Es wurden keine Highscores gefunden.
[2016-06-22 21:30:44] Querying MTA master server... success! (Auto detected IP:---)
[2016-06-22 21:30:47] WARNING: la_reallife/fun/stripclub/pets.lua:40: Expected positive value, got negative. This warning may be an error in future versions.
Alles anzeigen
Debugconsole spricht auch nur warns aber nicht von den betreffenden modulen.
debug.sethook()
carsSpawned = false
function privVeh_spawning()
local tempresult = mysql_query(handler, "ALTER TABLE vehicles AUTO_INCREMENT = 1")
mysql_free_result(tempresult)
caramount = 0
deletedcars = 0
result = mysql_query(handler, "SELECT * FROM vehicles")
if( not result) then
outputLog ( "[CARS]: Error executing the query: (" .. mysql_errno(handler) .. ") " .. mysql_error(handler), "mysql" )
else
if(mysql_num_rows(result) > 0) then
carsData = mysql_fetch_assoc(result)
--mySQLCarCreate ()
else
mysql_free_result(result)
outputLog ( "Es wurden keine Fahrzeuge gefunden.", "car" )
end
end
end
setTimer ( privVeh_spawning, 5000, 1 )
function mySQLCarCreate ()
if not carsSpawned then
caramount = caramount + 1
local Besitzer = carsData["Besitzer"]
local valid = true
if carsData["AuktionsID"] then
carsData["AuktionsID"] = tonumber ( carsData["AuktionsID"] )
if carsData["AuktionsID"] then
if carsData["AuktionsID"] > 0 then
valid = false
end
end
end
if valid then
if Besitzer == MySQL_Save ( Besitzer ) then
if isOwnerActive ( Besitzer ) then
local Typ = carsData["Typ"]
local Tuning = carsData["Tuning"]
local Spawnpos_X = tonumber(carsData["Spawnpos_X"])
if not badMySQLCarHouseXSpawns[Spawnpos_X] then
local Spawnpos_Y = tonumber(carsData["Spawnpos_Y"])
local Spawnpos_Z = tonumber(carsData["Spawnpos_Z"])
local Spawnrot_X = tonumber(carsData["Spawnrot_X"])
local Spawnrot_Y = tonumber(carsData["Spawnrot_Y"])
local Spawnrot_Z = tonumber(carsData["Spawnrot_Z"])
local Slot = carsData["Slot"]
if Spawnpos_X ~= -1935.8837890625 and Spawnpos_X ~= -1928.6640625 then
local Special = tonumber(carsData["Special"])
local Farbe = carsData["Farbe"]
if #( tostring ( Farbe ) )<= 3 then
Farbe = "0|0|0|0"
MySQL_SetString("vehicles", "Farbe", Farbe, "Besitzer LIKE '" ..Besitzer.."' AND Slot LIKE '" ..tonumber(Slot).. "' ")
end
local Paintjob = carsData["Paintjob"]
local Benzin = carsData["Benzin"]
_G[getPrivVehString ( Besitzer, Slot )] = createVehicle ( Typ, Spawnpos_X, Spawnpos_Y, Spawnpos_Z, 0, 0, 0, Besitzer )
if Special == 2 then
local vx, vy, vz = Spawnpos_X, Spawnpos_Y-2, 1.55
both = Besitzer..Slot
_G["ObjYacht"..both] = createObject ( 1337, vx, vy, vz )
attachElements ( _G["ObjYacht"..both], _G[getPrivVehString ( Besitzer, Slot )], 0, 2, 1.55 )
setElementDimension ( _G["ObjYacht"..both], 1 )
end
local veh = _G[getPrivVehString ( Besitzer, Slot )]
local STuning = MySQL_GetString("vehicles", "STuning", "Besitzer LIKE '"..Besitzer.."' AND Slot LIKE '"..Slot.."'")
laSetElementData ( veh, "stuning", STuning )
setVehicleAsMagnetHelicopter ( veh )
setVehicleRotation ( veh, Spawnrot_X, Spawnrot_Y, Spawnrot_Z )
laSetElementData ( veh, "owner", Besitzer )
laSetElementData ( veh, "name", veh )
laSetElementData ( veh, "carslotnr_owner", Slot )
laSetElementData ( veh, "locked", true )
laSetElementData ( veh, "color", Farbe )
laSetElementData ( veh, "spawnpos_x", Spawnpos_X )
laSetElementData ( veh, "spawnpos_y", Spawnpos_Y )
laSetElementData ( veh, "spawnpos_z", Spawnpos_Z )
laSetElementData ( veh, "spawnrot_x", Spawnrot_X )
laSetElementData ( veh, "spawnrot_y", Spawnrot_Y )
laSetElementData ( veh, "spawnrot_z", Spawnrot_Z )
laSetElementData ( veh, "special", Special )
laSetElementData ( veh, "lcolor", carsData["Lights"] )
laSetElementData ( veh, "distance", tonumber ( carsData["Distance"] ) )
setPrivVehCorrectLightColor ( veh )
setVehicleLocked ( veh, true )
laSetElementData ( veh, "fuelstate", tonumber ( Benzin ) )
setPrivVehCorrectColor ( veh )
setVehiclePaintjob ( veh, Paintjob )
if tonumber(Tuning) == 1 then
MySQL_SetString("vehicles", "Tuning", "|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|", "Besitzer LIKE '"..Besitzer.."' AND Slot LIKE '"..Slot.."'")
local Tuning = "|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|"
else
pimpVeh ( veh, Tuning )
end
end
end
else
local Besitzer = carsData["Besitzer"]
local bantime = tonumber ( MySQL_GetString ( "ban", "STime", "Name LIKE '"..Besitzer.."'" ) )
local diff = math.floor ( ( ( bantime - getTBanSecTime ( 0 ) ) / 60 ) * 100 ) / 100
--[[if diff < 0 then
deletedcars = deletedcars + 1
local Slot = carsData["Slot"]
MySQL_DelRow("vehicles", "Besitzer LIKE '"..Besitzer.."' AND Slot LIKE '"..Slot.."'")
MySQL_SetString("userdata", "Carslot"..Slot, 0, "Name LIKE '"..Besitzer.."'")
MySQL_SetString("userdata", "CurrentCars", tonumber(MySQL_GetString("userdata", "CurrentCars", "Name LIKE '"..Besitzer.."'"))-1, "Name LIKE '"..Besitzer.."'")
offlinemsg ( "Dein Fahrzeug in Slot Nr. "..Slot.." wurde entfernt, da du mehr als 30 Tage inaktiv warst!", "Server", Besitzer )
end]]
end
end
end
carsData = mysql_fetch_assoc(result)
if carsData then
mySQLCarCreate()
else
mysql_free_result(result)
carsSpawned = true
outputLog ( "Es wurden "..caramount.." Fahrzeuge gefunden und "..deletedcars.." Fahrzeuge von inaktiven Benutzern entfernt.", "car" )
end
end
end
function pimpVeh ( veh, tuning )
for i = 0, 16 do
local x = i + 1
_G["tunepart"..i] = tonumber(gettok ( tuning, x, string.byte('|') ))
end
for i = 0, 16 do
if _G["tunepart"..i] > 0 then
addVehicleUpgrade ( veh, _G["tunepart"..i] )
end
end
specPimpVeh ( veh )
end
function setPrivVehCorrectColor ( veh )
local colors = laGetElementData ( veh, "color" )
local c1 = tonumber ( gettok ( colors, 1, string.byte( '|' ) ))
local c2 = tonumber ( gettok ( colors, 2, string.byte( '|' ) ))
local c3 = tonumber ( gettok ( colors, 3, string.byte( '|' ) ))
local c4 = tonumber ( gettok ( colors, 4, string.byte( '|' ) ))
setVehicleColor ( veh, c1, c2, c3, c4 )
setTimer ( setVehicleColor, 100, 1, veh, c1, c2, c3, c4 )
end
function setPrivVehCorrectLightColor ( veh )
if veh then
local colors = laGetElementData ( veh, "lcolor" )
if colors then
local c1 = tonumber ( gettok ( colors, 1, string.byte( '|' ) ))
local c2 = tonumber ( gettok ( colors, 2, string.byte( '|' ) ))
local c3 = tonumber ( gettok ( colors, 3, string.byte( '|' ) ))
laSetElementData ( veh, "lc1", c1 )
laSetElementData ( veh, "lc2", c2 )
laSetElementData ( veh, "lc3", c3 )
setVehicleHeadLightColor ( veh, c1, c2, c3 )
end
end
end
function isOwnerActive ( pname )
return true
end
Alles anzeigen
Hallo,
ich habe ein kleines Problem. Nach jedem Server-Restart werden die Autos nicht gespawnt und im Handy nicht angezeigt. Desweiteren werden im Handy die Häuser nicht angezeigt.
Für evtl. Lösungen danke ich im Voraus.
wo müsste ich das einsetzen? dort wo ich den hunger haben will? ich wollte es dort machen wo zur zeit der schutz ist.
bitte erstmal richtig einrücken
geht nicht das wir immer so obwohl ich absätze mach
Hey ho,ich habe mir ein custom hud gemacht. Nun wollte ich gerne den Hunger dort anzeigen. Welchen befehl nehme ich dafür?
Original
-- Ort local pos = {} posx, posy, posz = getElementPosition(getLocalPlayer()) local city = getZoneName(posx, posy, posz, true) -- Geld local money = string.format("d",vioGetElementData(getLocalPlayer(),"money")) -- Wanteds local wanted = vioGetElementData(getLocalPlayer(),"wanteds") -- Schutz local armor = getPedArmor(getLocalPlayer()) -- Leben local leben = getElementHealth(getLocalPlayer()) -- Oxygen local breath = (getPedOxygenLevel(getLocalPlayer())/10.7) -- Waffe local waffe = getPedWeapon(getLocalPlayer()) local clip = getPedAmmoInClip (getLocalPlayer(),getPedWeaponSlot(getLocalPlayer())) local total = getPedTotalAmmo (getLocalPlayer(),getPedWeaponSlot(getLocalPlayer()))
Zur Zeit:
-- Ort local pos = {} posx, posy, posz = getElementPosition(getLocalPlayer()) local city = getZoneName(posx, posy, posz, true) -- Geld local money = string.format("%08d",vioGetElementData(getLocalPlayer(),"money")) -- Wanteds local wanted = vioGetElementData(getLocalPlayer(),"wanteds") -- Schutz local hunger = getElementData(getLocalPlayer(),"Hunger") -- Leben local leben = getElementHealth(getLocalPlayer()) -- Oxygen local breath = (getPedOxygenLevel(getLocalPlayer())/10.7) -- Waffe local waffe = getPedWeapon(getLocalPlayer()) local clip = getPedAmmoInClip (getLocalPlayer(),getPedWeaponSlot(getLocalPlayer())) local total = getPedTotalAmmo (getLocalPlayer(),getPedWeaponSlot(getLocalPlayer()))
Was soll ich tun? kann mir bitte einer helfen? *?*
in der console erscheint nichts, da es eine externe ressource ist. Vielleicht liegt es auch daran dass sie den vio hunger nicht abrufen kann??
hey ho hab ein Problem. Wollte mir ein anderes Hud auf mein Server laden und die dortige Armor anzeige mit der Hunger anzeige ersetzen. Nur mach ich da anscheinend was falsch:
Original HUD:
addEventHandler("onClientRender", root, function() --# Player local hour, mins = getTime () local time = hour .. ":" .. (((mins < 10) and "0"..mins) or mins) local zone = getZoneName (getElementPosition(getLocalPlayer())) local money = convertNumber(getPlayerMoney(localPlayer)) local health = math.floor (getElementHealth ( getLocalPlayer() )) local armor = math.floor(getPedArmor ( getLocalPlayer() )) dxDrawText(tostring (time), 1150*sW, 17*sH, 1270*sW, 38*sH, tocolor(255, 255, 255, 255), 1.25, "default-bold", "center", "center", false, false, false, false, false) dxDrawText(zone, 1150*sW, 45*sH, 1270*sW, 45*sH, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("$ "..money, 1150*sW, 50*sH, 1270*sW, 70*sH, tocolor(255, 255, 255, 255), 1.25, "default-bold", "left", "center", false, false, true, true, false) dxDrawText("Health: "..health.." %", 1150*sW, 70*sH, 1270*sW, 85*sH, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "center", false, false, true, true, false) dxDrawText("Armor: "..armor.." %", 1150*sW, 85*sH, 1270*sW, 100*sH, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "center", false, false, true, true, false)
Modded:
addEventHandler("onClientRender", root, function() --# Player local hour, mins = getTime () local time = hour .. ":" .. (((mins < 10) and "0"..mins) or mins) local zone = getZoneName (getElementPosition(getLocalPlayer())) local money = convertNumber(getPlayerMoney(localPlayer)) local health = math.floor (getElementHealth ( getLocalPlayer() )) local hunger = math.floor(getPedHunger ( getLocalPlayer() )) dxDrawText(tostring (time), 1150*sW, 17*sH, 1270*sW, 38*sH, tocolor(255, 255, 255, 255), 1.25, "default-bold", "center", "center", false, false, false, false, false) dxDrawText(zone, 1150*sW, 45*sH, 1270*sW, 45*sH, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("$ "..money, 1150*sW, 50*sH, 1270*sW, 70*sH, tocolor(255, 255, 255, 255), 1.25, "default-bold", "left", "center", false, false, true, true, false) dxDrawText("Health: "..health.." %", 1150*sW, 70*sH, 1270*sW, 85*sH, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "center", false, false, true, true, false) dxDrawText("Hunger: "..hunger.." %", 1150*sW, 85*sH, 1270*sW, 100*sH, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "center", false, false, true, true, false)
Kann mir da wer helfen?
probier mal als DB host 127.0.0.1
Ok werd ich heute mal schauen.
EDIT:
@MatzeGam1ngTv Habe jetzt mal das Script bearbeitet geht aber immer noch nicht
Ja genau die meinte ich. In der Garage fehlt der Duty Marker und in der Lobby kommt keine infobox. In welcher Datei muss ich da erforschen?
Danke übrigens dass du mir versuchst zu helfen
die wenn ich beim SFPD ins "i" Symbol laufe.
geht leider immer noch nich. Ich weiß nicht obs am script liegt dass n paar infoboxen fehlen weil deine hud.lua ist identisch mit meiner. Und bei Vio extended ging vor meinem edit die infobox beim SFPD noch und seit dem nicht mehr...
addEventHandler ( "onClientElementDataChange", lp,function ( data, old ) if data == "money" then local cMoney = getPlayerMoney ( lp ) local new = getElementData ( lp, "money" ) if cMoney > new then _takePlayerMoney ( cMoney - new ) hudEinblendenMoney_func () playSoundFrontEnd ( 42 ) elseif cMoney < new then _givePlayerMoney ( (new-cMoney) ) hudEinblendenMoney_func () playSoundFrontEnd ( 42 ) end endend )
timetohide = 3000
function setRadarVisible ( bool )
showPlayerHudComponent ( "radar", bool )end
function hudAusblenden ()
showPlayerHudComponent ( "ammo", true ) showPlayerHudComponent ( "weapon", true ) showPlayerHudComponent ( "health", true ) showPlayerHudComponent ( "armour", true ) showPlayerHudComponent ( "money", true ) showPlayerHudComponent ( "radar", true ) showPlayerHudComponent ( "area_name", true ) showPlayerHudComponent ( "clock", true ) hideWeaponFireState () ausblendentimer_dmg_started = true bindKey ( "b", "down", showall )endaddEventHandler ( "onClientResourceStart", getRootElement(), hudAusblenden )
function hudEinblendenDmg_func ( a, b, c, d, bool )
if ( source == getLocalPlayer() and not getElementData ( lp, "isInHighNoon" ) and not isPedDead ( lp ) ) or bool then showPlayerHudComponent ( "health", true ) showPlayerHudComponent ( "armour", true ) if ausblendentimer_dmg_started then killTimer ( ausblendentimer_dmg ) ausblendentimer_dmg = setTimer ( hudAusblendenDmg, timetohide, 1 ) ausblendentimer_dmg_started = true else ausblendentimer_dmg = setTimer ( hudAusblendenDmg, timetohide, 1 ) ausblendentimer_dmg_started = true end endendaddEventHandler ( "onClientPlayerDamage", getRootElement (), hudEinblendenDmg_func )
function hudEinblendenSwitch ( old, new ) if source == getLocalPlayer() and not getElementData ( lp, "isInHighNoon" ) then showPlayerHudComponent ( "ammo", true ) showPlayerHudComponent ( "weapon", true ) refreshAmmoKindDraw () if fireModeWeapons[getPedWeapon( lp, new )] then showWeaponFireState ( true ) if getElementData ( lp, "playingtime" ) <= 10*60 and not gunmodeInfo then gunmodeInfo = true infobox ( "\nDeine aktuelle Waffe\nunterstuetzt mehrere\nFeuermodi. Druecke\n"X", um sie zu\nwechseln.", 5000, 200, 200, 0 ) end else hideWeaponFireState () end if ausblendentimer_switch_started then killTimer ( ausblendentimer_switch ) ausblendentimer_switch = setTimer ( hudAusblendenSwitch, timetohide, 1 ) ausblendentimer_switch_started = true else ausblendentimer_switch = setTimer ( hudAusblendenSwitch, timetohide, 1 ) ausblendentimer_switch_started = true end if ausblendentimer_fire_started then killTimer ( ausblendentimer_fire ) ausblendentimer_fire = setTimer ( hudAusblendenFire, timetohide, 1 ) ausblendentimer_fire_started = true else ausblendentimer_fire = setTimer ( hudAusblendenFire, timetohide, 1 ) ausblendentimer_fire_started = true end endendaddEventHandler ( "onClientPlayerWeaponSwitch", getRootElement(), hudEinblendenSwitch )
function hudEinblendenFire () if source == getLocalPlayer() and not getElementData ( lp, "isInHighNoon" ) then showPlayerHudComponent ( "ammo", true ) showWeaponFireState () if ausblendentimer_fire_started then killTimer ( ausblendentimer_fire ) ausblendentimer_fire = setTimer ( hudAusblendenFire, timetohide, 1 ) ausblendentimer_fire_started = true else ausblendentimer_fire = setTimer ( hudAusblendenFire, timetohide, 1 ) ausblendentimer_fire_started = true end endendaddEventHandler ( "onClientPlayerWeaponFire", getRootElement(), hudEinblendenFire )
function hudEinblendenMoney_func () showPlayerHudComponent ( "money", true ) if ausblendentimer_money_started == true then killTimer ( ausblendentimer_money ) ausblendentimer_money = setTimer ( hudAusblendenMoney, timetohide, 1 ) ausblendentimer_money_started = true else ausblendentimer_money = setTimer ( hudAusblendenMoney, timetohide, 1 ) ausblendentimer_money_started = true endendaddEvent ("HudEinblendenMoney", true )addEventHandler ("HudEinblendenMoney", getRootElement(), hudEinblendenMoney_func)
function hudAusblendenMoney ()
showPlayerHudComponent ( "money", true ) ausblendentimer_money_started = trueend
function hudAusblendenDmg ()
showPlayerHudComponent ( "health", true ) showPlayerHudComponent ( "armour", true ) ausblendentimer_dmg_started = trueend
function hudAusblendenFire ()
showPlayerHudComponent ( "ammo", true ) hideWeaponFireState () ausblendentimer_fire_started = trueend
function hudAusblendenSwitch ()
showPlayerHudComponent ( "weapon", true ) hideWeaponFireState () ausblendentimer_switch_started = trueend
function showall ( key, state )
if state == "down" and not isPedDead ( lp ) then showPlayerHudComponent ( "ammo", true ) showPlayerHudComponent ( "weapon", true ) showPlayerHudComponent ( "health", true ) showPlayerHudComponent ( "armour", true ) showPlayerHudComponent ( "money", true ) showPlayerHudComponent ( "area_name", true ) showPlayerHudComponent ( "clock", true ) showPlayerHudComponent ( "radar", true ) showWeaponFireState () showHungerBar() refreshAmmoKindDraw () end if state == "up" then showPlayerHudComponent ( "ammo", true ) showPlayerHudComponent ( "weapon", true ) showPlayerHudComponent ( "health", true ) showPlayerHudComponent ( "armour", true ) showPlayerHudComponent ( "money", true ) showPlayerHudComponent ( "area_name", true ) showPlayerHudComponent ( "clock", true ) hideWeaponFireState () hideHungerBar() endend
function hideall () showPlayerHudComponent ( "ammo", true ) showPlayerHudComponent ( "weapon", true ) showPlayerHudComponent ( "health", true ) showPlayerHudComponent ( "armour", true ) showPlayerHudComponent ( "money", true ) showPlayerHudComponent ( "area_name", true ) showPlayerHudComponent ( "clock", true ) local inprogress = trueend
Alles anzeigen
Hey ho
ich habe das HUD so verändert, dass es permanent angezeigt wird. Nur habe ich jetzt das Problem dass sämtliche Infoboxen nicht mehr angezeigt werden. Was hab ich (falsch bzw mit) verändert..