Habe factionount vergessen DANKEE! DANKE DANKE!!!!!!!!!!!!!!
Beiträge von Sulection
-
-
-
Guten Tag, liebe User!
Ich habe ein Problem, das 2 Fraktionen die ich hinzugefügt habe, nicht in der Tabliste angezeigt werden, bzw der Spieler der in der Fraktion ist, ist auf dem Scoreboard komplett unsichtbar.
Die Fraktion wird nur angezeigt, wenn er gerade am Joinen ist. Heißt, wenn er im Login-GUI ist.
Es kommen keine Errors, und habe sie auch unter client\playerlist_client.lua eingefügt.
Hat da jemand ne idee? Wäre nett.
P.S ja ich habe die Fraktionen auch in settings_client.lua eingetragenMFG. Sulection
Hier der Code der playerlist_client.lua
Lua
Alles anzeigenlocal playerListLabels = {} local playerListFactionMembersLabel = {} local playersOnline = {} local playersOnlineData = {} local curPlayerListPosition = 1 local playerCount = 0 local playerListWidth = 667 local playerListHeight = 314 local maxPlayersInCurList = 17 local maxPlayers = 60 local playersToScrollPerButton = 10 function recieveServerSlotCount ( max ) maxPlayers = max end addEvent ( "recieveServerSlotCount", true ) addEventHandler ( "recieveServerSlotCount", getRootElement(), recieveServerSlotCount ) triggerServerEvent ( "getServerSlotCount", lp ) local radioUpState, radioDownState, weaponUpState, weaponDownState function fillPlayerListOnStart () local players = getElementsByType ( "player" ) for key, index in pairs ( players ) do playerCount = playerCount + 1 playersOnlineData[index] = playerCount playersOnline[playerCount] = index end end fillPlayerListOnStart () function clientPlayerListDisconnect () local i = playersOnlineData[source] playersOnline[i] = nil playerCount = playerCount - 1 end addEventHandler ( "onClientPlayerQuit", getRootElement(), clientPlayerListDisconnect ) function clientPlayerListConnect () local i for k = 1, maxPlayers do if not playersOnline[k] then i = k break end end playerCount = playerCount + 1 playersOnlineData[source] = i playersOnline[i] = source end addEventHandler ( "onClientPlayerJoin", getRootElement(), clientPlayerListConnect ) function showPlayerList () if gImage["playerList"] then guiSetVisible ( gImage["playerList"], true ) else local label, img gImage["playerList"] = guiCreateStaticImage(screenwidth/2-playerListWidth/2,screenheight/2-playerListHeight/2,playerListWidth,playerListHeight,"images/tab.png",false) guiSetAlpha(gImage["playerList"],0.99) label = guiCreateLabel(12,9,51,23,"Name",false,gImage["playerList"]) guiSetAlpha(label,1) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) guiSetFont(label,"default-bold-small") guiSetAlpha(img,0.7) label = guiCreateLabel(165,8,88,23,"Sozialer Status",false,gImage["playerList"]) guiSetAlpha(label,1) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) guiSetFont(label,"default-bold-small") label = guiCreateLabel(278,7,52,20,"Spielzeit",false,gImage["playerList"]) guiSetAlpha(label,1) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) guiSetFont(label,"default-bold-small") guiSetAlpha(img,0.7) guiSetAlpha(img,0.7) label = guiCreateLabel(346,8,62,16,"Telefonnr.",false,gImage["playerList"]) guiSetAlpha(label,1) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) guiSetFont(label,"default-bold-small") guiSetAlpha(img,0.7) guiSetAlpha(img,0.7) label = guiCreateLabel(439,8,35,15,"Ping",false,gImage["playerList"]) guiSetAlpha(label,1) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) guiSetFont(label,"default-bold-small") guiSetAlpha(img,0.7) label = guiCreateLabel(500,8,45,15,"Arbeit",false,gImage["playerList"]) guiSetAlpha(label,1) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) guiSetFont(label,"default-bold-small") guiSetAlpha(img,0.7) label = guiCreateLabel(590,8,62,16,"Fraktion",false,gImage["playerList"]) guiSetAlpha(label,1) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) guiSetFont(label,"default-bold-small") guiSetAlpha(gImage["playerListBarBG"],0.7) guiSetAlpha(gImage["playerListBarPull"],1) gLabel["playerListPlayers"] = guiCreateLabel(8,296,100,18,"0/"..maxPlayers.." Spieler",false,gImage["playerList"]) guiSetAlpha(gLabel["playerListPlayers"],1) guiLabelSetColor(gLabel["playerListPlayers"],255,255,255) guiLabelSetVerticalAlign(gLabel["playerListPlayers"],"top") guiLabelSetHorizontalAlign(gLabel["playerListPlayers"],"left",false) guiSetFont(gLabel["playerListPlayers"],"default-bold-small") gLabel["playerListMaker"] = guiCreateLabel(510,296,262,18,"VialeX Reallife",false,gImage["playerList"]) guiSetAlpha(gLabel["playerListMaker"],1) guiLabelSetColor(gLabel["playerListMaker"],255,255,255) guiLabelSetVerticalAlign(gLabel["playerListMaker"],"top") guiLabelSetHorizontalAlign(gLabel["playerListMaker"],"left",false) guiSetFont(gLabel["playerListMaker"],"default-bold-small") for i, index in pairs ( factionColors ) do if i > 0 then local r, g, b = factionColors[i][1], factionColors[i][2], factionColors[i][3] playerListFactionMembersLabel[i] = guiCreateLabel(8+75+(i)*20,296,20,18,"",false,gImage["playerList"]) guiSetAlpha(playerListFactionMembersLabel[i],1) guiLabelSetColor(playerListFactionMembersLabel[i],r,g,b) guiLabelSetVerticalAlign(playerListFactionMembersLabel[i],"top") guiLabelSetHorizontalAlign(playerListFactionMembersLabel[i],"left",false) guiSetFont(playerListFactionMembersLabel[i],"default-bold-small") end end for i = 1, maxPlayersInCurList do playerListLabels[i] = {} playerListLabels[i][1] = guiCreateLabel(10,30 - 15 + 15 * i,141,16,"",false,gImage["playerList"]) playerListLabels[i][2] = guiCreateLabel(155,30 - 15 + 15 * i,141,16,"",false,gImage["playerList"]) playerListLabels[i][3] = guiCreateLabel(270,30 - 15 + 15 * i,141,16,"",false,gImage["playerList"]) playerListLabels[i][4] = guiCreateLabel(338,30 - 15 + 15 * i,141,16,"",false,gImage["playerList"]) playerListLabels[i][5] = guiCreateLabel(418,30 - 15 + 15 * i,141,16,"",false,gImage["playerList"]) playerListLabels[i][6] = guiCreateLabel(488,30 - 15 + 15 * i,141,16,"",false,gImage["playerList"]) playerListLabels[i][7] = guiCreateLabel(582,30 - 15 + 15 * i,141,16,"",false,gImage["playerList"]) for k = 1, 7 do guiSetAlpha(playerListLabels[i][k],1) guiLabelSetColor(playerListLabels[i][k],255,255,0) guiLabelSetVerticalAlign(playerListLabels[i][k],"top") guiLabelSetHorizontalAlign(playerListLabels[i][k],"left",false) guiSetFont(playerListLabels[i][k],"default-bold-small") end guiLabelSetColor ( playerListLabels[i][2], 0, 255, 0 ) end end updatePlayerList () end function updateFactionPlayerCount () factionCounter = {} local players = getElementsByType ( "player" ) for key, index in pairs ( players ) do local i = getElementData ( index, "fraktion" ) if i then if not factionCounter[i] then factionCounter[i] = {} end factionCounter[i][index] = true end end for i, index in pairs ( factionColors ) do if playerListFactionMembersLabel[i] then local length = tableLength ( factionCounter[i] ) if length > 0 then guiSetText ( playerListFactionMembersLabel[i], length ) else guiSetText ( playerListFactionMembersLabel[i], "" ) end end end end function tableLength ( table ) local i = 0 if table then for _, _ in pairs ( table ) do i = i + 1 end end return i end function updatePlayerList () if guiGetVisible ( gImage["playerList"] ) then updateFactionPlayerCount () guiSetText ( gLabel["playerListPlayers"], playerCount.."/"..maxPlayers.." Spieler" ) reFillPlayerList () playerListUpdateTimer = setTimer ( updatePlayerList, 1000, 1 ) end end function reAdjustPlayerListScollBar () pxPerPlayer = playerListHeight / ( playerCount ) barSize = maxPlayersInCurList / playerCount * playerListHeight if barSize > playerListHeight then barSize = 1 barYPos = 0 else barYPos = ( curPlayerListPosition - 1 ) * ( pxPerPlayer ) end guiSetSize ( gImage["playerListBarPull"], 17, barSize, false ) guiSetPosition ( gImage["playerListBarPull"], 0, barYPos, false ) end function reFillPlayerList () for key, index in pairs ( playerListLabels ) do for i = 1, 7 do guiSetText ( playerListLabels[key][i], "" ) end end local i = 0 local k = 0 local name, rang, playingtime, ping, job,frak, r, g, b for z = -2, factioncount do for key, index in pairs ( playersOnline ) do if ( z == -2 and not getElementData ( index, "loggedin" ) ) or ( z == -1 and getElementData ( index, "loggedin" ) == 0 ) or getElementData ( index, "fraktion" ) == z then i = i + 1 if k > maxPlayersInCurList then break end if i >= curPlayerListPosition then k = k + 1 name = getPlayerName ( index ) rang = getElementData ( index, "socialState" ) ping = tonumber ( getPlayerPing ( index ) ) job = getElementData ( index, "job" ) frak = getElementData ( index, "fraktion" ) if not rang then rang = "Verbindung ..." nr = "" playingtime = "" job = "" frak = "" r, g, b = 255, 255, 255 else nr = getElementData ( index, "telenr" ) local faction = getElementData ( index, "fraktion" ) r, g, b = factionColors[faction][1], factionColors[faction][2], factionColors[faction][3] playingtime = getElementData ( index, "playingtime" ) playingtime = math.floor ( playingtime / 60 )..":"..( playingtime - math.floor ( playingtime / 60 ) * 60 ) job = getElementData ( index, "job" ) if job == "fischer" then job = "Fischer" elseif job == "airport" then job = "Flughafen" elseif job == "dealer" then job = "Drogendealer" elseif job == "wdealer" then job = "Waffendealer" elseif job == "taxifahrer" then job = "Taxifahrer" elseif job == "hotdog" then job = "Hotdog" elseif job == "streetclean" then job = "Reinigung" elseif job == "trucker" then job = "Trucker" elseif job == "mechaniker" then job = "Mechaniker" elseif job == "none" then job = "Arbeitslos" elseif job == "zug" then job = "ZugFührer" elseif job == "air" then job = "Arbeitslos" elseif job == "tankcommander" then job = "Arbeitslos" elseif job == "soldat" then job = "Arbeitslos" elseif job == "pionier" then job = "Arbeitslos" elseif job == "fischer" then job = "Fischer" elseif job == "marine" then job = "Arbeitslos" elseif job == "farmer" then job = "Farmer" elseif job == "hitman" then job = "Hitman" elseif job == "gabelstabler" then job = "Gabelstablerf." elseif job == "busfahrer" then job = "Busfahrer" end frak = getElementData ( index, "fraktion" ) if frak == 0 then frak = "Zivilist" elseif frak == 1 then frak = "Polizei" elseif frak == 2 then frak = "Mafia" elseif frak == 3 then frak = "Triaden" elseif frak == 4 then frak = "Terroristen" elseif frak == 5 then frak = "Reporter" elseif frak == 6 then frak = "S.E.K" elseif frak == 7 then frak = "Los Aztecas" elseif frak == 8 then frak = "Bundeswehr" elseif frak == 9 then frak = "Biker" elseif frak == 10 then frak = "Ballas" elseif frak == 11 then frak = "Grovestreet" end if vioGetElementData ( index, "adminlvl" ) >= 1 then name = "[VRL]"..name else name = name end end guiSetText ( playerListLabels[k][1], name ) guiSetText ( playerListLabels[k][2], rang ) guiSetText ( playerListLabels[k][3], playingtime ) guiSetText ( playerListLabels[k][4], nr ) guiSetText ( playerListLabels[k][5], ping ) guiSetText ( playerListLabels[k][6], job ) guiSetText ( playerListLabels[k][7], frak ) pr, pg, pb = getPingColor ( ping ) guiLabelSetColor ( playerListLabels[k][1], r, g, b ) guiLabelSetColor ( playerListLabels[k][5], pr, pg, pb ) end end end end end function getPingColor ( ping ) if ping <= 50 then return 0, 200, 0 elseif ping <= 150 then return 200, 200, 0 else return 200, 0, 0 end end function playerListScrollDown () if curPlayerListPosition < playerCount - maxPlayersInCurList + playersToScrollPerButton then curPlayerListPosition = curPlayerListPosition + playersToScrollPerButton else curPlayerListPosition = playerCount end reFillPlayerList () end function playerListScrollUp () if curPlayerListPosition > playersToScrollPerButton then curPlayerListPosition = curPlayerListPosition - playersToScrollPerButton else curPlayerListPosition = 1 end reFillPlayerList () end function playerListKeyPressed ( key, state ) if state == "down" then radioUpState = isControlEnabled ( "radio_next" ) radioDownState = isControlEnabled ( "radio_prelaus" ) weaponUpState = isControlEnabled ( "next_weapon" ) weaponDownState = isControlEnabled ( "previous_weapon" ) weaponAimState = isControlEnabled ( "aim_weapon" ) weaponShootState = isControlEnabled ( "fire" ) toggleControl ( "radio_next", false ) toggleControl ( "radio_prelaus", false ) toggleControl ( "next_weapon", false ) toggleControl ( "previous_weapon", false ) toggleControl ( "aim_weapon", false) toggleControl ( "fire", false) if isTimer ( playerListUpdateTimer ) then killTimer ( playerListUpdateTimer ) end scollBarAdjustTimer = setTimer ( reAdjustPlayerListScollBar, 50, -1 ) bindKey ( "mouse_wheel_up", "down", playerListScrollUp ) bindKey ( "mouse_wheel_down", "down", playerListScrollDown ) showPlayerList () else toggleControl ( "radio_next", radioUpState ) toggleControl ( "radio_prelaus", radioDownState ) toggleControl ( "next_weapon", weaponUpState ) toggleControl ( "previous_weapon", weaponDownState ) toggleControl ( "aim_weapon", weaponAimState ) toggleControl ( "fire", weaponShootState ) killTimer ( scollBarAdjustTimer ) unbindKey ( "mouse_wheel_up", "down", playerListScrollUp ) unbindKey ( "mouse_wheel_down", "down", playerListScrollDown ) guiSetVisible ( gImage["playerList"], false ) end end bindKey ( "tab", "both", playerListKeyPressed )
-
Ich möchte aber, das z.b Supporter /rban SPIELERNAME eingeben, und er automatisch 2 Stunden gebannt wird.
-
Selbst wenn du es nicht gefunden hättest,könnten wir dir bei einem Selfmade Script nicht sagen wo es ist.
Tut mir leid. Habe vergessen zu sagen, das es auf dem LA Script basiert. Trz Danke
Habe aber ein neues problem: https://www.mta-sa.org/index.php?page=Thread&threadID=30919
-
Guten Tag!
Ich habe ein Selfmade Script, welches auf dem LA Script basiert. Nun möchte ich, das der Command: /rban jemaden nur für 2 Stunden bannt.
So sieht die Func aus:
Lua
Alles anzeigenfunction rban_func(player,command,kplayer, ... ) kplayer = MySQL_Save ( kplayer ) local reason = {...} reason = table.concat( reason, " " ) if getElementType(player) == "console" then laSetElementData(player, "adminlvl", 99 ) end local kpname = getPlayerFromName(kplayer) local pname = getPlayerName(player) if isAdmin(player) and ( not client or client == player ) then if not kpname then if MySQL_DatasetExist("players", "Name LIKE '"..kplayer.."'") then outputChatBox ( "Der Spieler wurde (offline) gebannt!", player, 0, 0, 150 ) outputChatBox ("Spieler "..kplayer.." wurde von "..pname.." gebannt! (Grund: "..tostring(reason)..")",getRootElement(),255,0,0) outputLog ( "[BAN]: Spieler "..kplayer.." wurde von "..pname.." gebannt! (Grund: "..tostring(reason)..")", "ban" ) mysql_query(handler, "INSERT INTO ban (Name, Admin, Grund, Datum, IP, Serial) VALUES ('"..kplayer.."', '"..pname.."', '"..reason.."', '"..timestamp().."', '0.0.0.0', '0')") else triggerClientEvent ( player, "infobox_start", getRootElement(), "\n\nSpieler existiert nicht!", 5000, 255, 0, 0 ) end elseif kpname then if getElementData ( kpname, "loggedin" ) == 1 then if isHigherAdmin(player, kpname) then outputChatBox ("Spieler "..kplayer.." wurde von "..pname.." gebannt! (Grund: "..tostring(reason)..")",getRootElement(),255,0,0) outputLog ( "[BAN]: Spieler "..kplayer.." wurde von "..pname.." gebannt! (Grund: "..tostring(reason)..")", "ban" ) local ip = getPlayerIP ( kpname ) local serial = getPlayerSerial ( kpname ) mysql_query(handler, "INSERT INTO ban (Name, Admin, Grund, Datum, IP, Serial) VALUES ('"..kplayer.."', '"..pname.."', '"..reason.."', '"..timestamp().."', '"..ip.."', '"..serial.."')") kickPlayer ( kpname, "Von: "..pname..", Grund: "..tostring(reason).." gebannt!" ) else triggerClientEvent ( player, "infobox_start", getRootElement(), "\n\nHöherer Admin!", 5000, 255, 0, 0 ) end else outputChatBox ("Spieler "..kplayer.." wurde von "..pname.." gebannt! (Grund: "..tostring(reason)..")",getRootElement(),255,0,0) outputLog ( "[BAN]: Spieler "..kplayer.." wurde von "..pname.." gebannt! (Grund: "..tostring(reason)..")", "ban" ) local ip = getPlayerIP ( kpname ) local serial = getPlayerSerial ( kpname ) mysql_query(handler, "INSERT INTO ban (Name, Admin, Grund, Datum, IP, Serial) VALUES ('"..kplayer.."', '"..pname.."', '"..reason.."', '"..timestamp().."', '"..ip.."', '"..serial.."')") kickPlayer ( kpname, "Von: "..pname..", Grund: "..tostring(reason).." gebannt!" ) end else triggerClientEvent ( player, "infobox_start", getRootElement(), "\n\Verwende: /rban [Name] [Grund]", 5000, 0, 125, 125 ) end else triggerClientEvent ( player, "infobox_start", getRootElement(), "\n\nDu bist kein Moderator!", 5000, 255, 0, 0 ) end end addCommandHandler("rban", rban_func) addEvent ("rban", true ) addEventHandler ("rban", getRootElement(), rban_func )
MfG:
Sulection
-
Habs alleine gefunden und ReZ Selfmade script.
-
Guten Tag,
Ich übe mich nach Anderthalb jahren wieder in MTA Reallife Scripts ein. Und ich wollte fragen, wo kann ich die Marker auf der Map und die Marker für beispielsweise die Farschule von SF nach LS machen?
In welcher datei befindet sich das? Kann mir dort jemand helfen? -
Ne keine Fheler. Soweit ich weis muss ich irgentwas in der Death.lua eintragen. Bloß was?
-
Ja alles gemacht. Kommt weiterhin
Lua
Alles anzeigen[2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/aztecas/aztecas_gunshop.lua:1: Bad argument @ 'createMarker' [Expected number at argument 9, got root] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/aztecas/aztecas_gunshop.lua:3: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/aztecas/aztecas_gunshop.lua:5: Bad argument @ 'createMarker' [Expected number at argument 9, got root] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/aztecas/aztecas_gunshop.lua:117: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/aztecas/aztecas_gunshop.lua:131: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/biker/biker_gunshop.lua:1: Bad argument @ 'createMarker' [Expected number at argument 9, got root] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/biker/biker_gunshop.lua:3: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/biker/biker_gunshop.lua:5: Bad argument @ 'createMarker' [Expected number at argument 9, got root] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/biker/biker_gunshop.lua:148: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/biker/biker_gunshop.lua:168: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2014-11-09 20:52:52] ERROR: [gamemodes]/[vio]/vio/fraktionen/newsreporter/newspaper_server.lua:48: fileOpen failed; ModifyOtherObjects in ACL denied resource vio to access vio_stored_files [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/newsreporter/newspaper_server.lua:49: Bad argument @ 'fileGetSize' [Expected scriptfile at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/newsreporter/newspaper_server.lua:50: Bad argument @ 'fileRead' [Expected scriptfile at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/newsreporter/newspaper_server.lua:54: Bad argument @ 'fileClose' [Expected scriptfile at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/triaden/triaden_gunshop.lua:1: Bad argument @ 'createMarker' [Expected number at argument 9, got root] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/triaden/triaden_gunshop.lua:3: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/triaden/triaden_gunshop.lua:5: Bad argument @ 'createMarker' [Expected number at argument 9, got root] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/triaden/triaden_gunshop.lua:7: Bad argument @ 'createMarker' [Expected number at argument 9, got root] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/triaden/triaden_gunshop.lua:119: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/triaden/triaden_gunshop.lua:133: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fraktionen/triaden/triaden_gunshop.lua:134: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2014-11-09 20:52:52] ERROR: [gamemodes]/[vio]/vio/fun/lotto/lotto_server.lua:2: fileOpen failed; ModifyOtherObjects in ACL denied resource vio to access vio_stored_files [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fun/lotto/lotto_server.lua:3: Bad argument @ 'fileGetSize' [Expected scriptfile at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fun/lotto/lotto_server.lua:4: Bad argument @ 'fileRead' [Expected scriptfile at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/fun/lotto/lotto_server.lua:5: Bad argument @ 'fileClose' [Expected scriptfile at argument 1, got boolean] [2014-11-09 20:52:52] ERROR: ...es]/[vio]/vio/hobby/gardenclub/gardenclub_server.lua:12: attempt to call global 'mysql_vio_query' (a nil value) [2014-11-09 20:52:52] ERROR: [gamemodes]/[vio]/vio/items/items_place_server.lua:119: attempt to call global 'mysql_vio_query' (a nil value) [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/places/mafia/mafia.lua:19: Bad argument @ 'createMarker' [Expected number at argument 9, got root] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/places/mafia/mafia.lua:21: Bad argument @ 'setElementVisibleTo' [Expected element at argument 1, got boolean] [2014-11-09 20:52:52] WARNING: [gamemodes]/[vio]/vio/places/mafia/mafia.lua:144: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2014-11-09 20:52:52] ERROR: [gamemodes]/[vio]/vio/register_login/account.lua:22: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:52:52] ERROR: ...memodes]/[vio]/vio/register_login/loggedin_mysql.lua:23: attempt to call global 'mysql_vio_query' (a nil value) [2014-11-09 20:52:52] ERROR: [vio]/vio/register_login/loggedin_mysql.lua:23: attempt to call global 'mysql_vio_query' (a nil value) [2014-11-09 20:52:52] ERROR: [gamemodes]/[vio]/vio/fraktionen/gangareas.lua:55: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:52:52] ERROR: [gamemodes]/[vio]/vio/fraktionen/fdepots.lua:23: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:52:52] ERROR: [vio]/vio/fraktionen/aztecas/aztecas_settings.lua:5: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:52:52] ERROR: [vio]/vio/fraktionen/biker/biker_gunshop.lua:9: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:52:52] ERROR: [vio]/vio/fraktionen/mafia/mafiasettings.lua:5: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:52:52] ERROR: [vio]/vio/fraktionen/triaden/triaden_settings.lua:5: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:52:52] ERROR: [gamemodes]/[vio]/vio/internet/email_server.lua:3: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:52:52] Gamemode 'vio' started. [2014-11-09 20:52:52] Server minclientversion is now 1.4.0-9.06882 [2014-11-09 20:52:53] startResource: Resource 'vio' started [2014-11-09 20:52:53] ERROR: [gamemodes]/[vio]/vio/biz/biz.lua:38: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:52:53] ERROR: [gamemodes]/[vio]/vio/biz/prestige.lua:5: attempt to call global 'MySQL_DatasetExist' (a nil value) [2014-11-09 20:52:57] ERROR: [gamemodes]/[vio]/vio/carsys/carsys_mysql.lua:9: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:52:57] ERROR: [gamemodes]/[vio]/vio/carsys/carsys_mysql.lua:9: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:52:57] ERROR: [gamemodes]/[vio]/vio/housesys/houses_mysql.lua:8: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:52:57] ERROR: [vio]/vio/minigames/tetris/tetris_server.lua:23: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:53:22] INFO: Fraktionsfahrzeuge gepanzert
_______________________
Hat sich erledigt, habe nen Recht schreib fehler gemacht.
Weiterhin die Frage, wer kann mir bei der Medic fraktion helfen?
-
Ich habe das medic script genommen, was in dem Update von Nonetame drin war.
Mit swat hat sichs erledgit, habe eine gescriptet. Aber ich verzweifle langsam am kompletten Vio-Extended. Heißt, das mal wieder kein Login Panel kommt. Ich frage mich grade nur warum.
Habe zwar alles eingetragen usw... aber nachwievvor kommen nur Errors, das man nicht zur DB connecten kann.
Lua
Alles anzeigen[2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/mysql/mysql_start.lua:9: attempt to call global 'mysql_connect' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/ai/ai_car.lua:26: attempt to call global 'MySQL_DatasetExist' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/anzeigen/prompt_server.lua:2: fileOpen failed; ModifyOtherObjects in ACL denied resource vio to access vio_stored_files [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/anzeigen/prompt_server.lua:3: Bad 'file' pointer @ 'fileGetSize'(1) [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/anzeigen/prompt_server.lua:4: Bad 'file' pointer @ 'fileRead'(1) [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/anzeigen/prompt_server.lua:5: Bad 'file' pointer @ 'fileClose'(1) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/beta/beta_server.lua:102: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/carsys/outsource_mysql.lua:1: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:34:34] ERROR: ...odes]/[vio]/vio/carsys/carhouses/carhouses_mysql.lua:48: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:34:34] ERROR: ...gamemodes]/[vio]/vio/fraktionen/blacklist_server.lua:80: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/fraktionen/newsreporter/newspaper_server.lua:48: fileOpen failed; ModifyOtherObjects in ACL denied resource vio to access vio_stored_files [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/fraktionen/newsreporter/newspaper_server.lua:49: Bad 'file' pointer @ 'fileGetSize'(1) [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/fraktionen/newsreporter/newspaper_server.lua:50: Bad 'file' pointer @ 'fileRead'(1) [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/fraktionen/newsreporter/newspaper_server.lua:54: Bad 'file' pointer @ 'fileClose'(1) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/fun/lotto/lotto_server.lua:2: fileOpen failed; ModifyOtherObjects in ACL denied resource vio to access vio_stored_files [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/fun/lotto/lotto_server.lua:3: Bad 'file' pointer @ 'fileGetSize'(1) [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/fun/lotto/lotto_server.lua:4: Bad 'file' pointer @ 'fileRead'(1) [2014-11-09 20:34:34] WARNING: [gamemodes]/[vio]/vio/fun/lotto/lotto_server.lua:5: Bad 'file' pointer @ 'fileClose'(1) [2014-11-09 20:34:34] ERROR: ...es]/[vio]/vio/hobby/gardenclub/gardenclub_server.lua:12: attempt to call global 'mysql_vio_query' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/items/items_place_server.lua:119: attempt to call global 'mysql_vio_query' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/register_login/account.lua:22: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:34:34] ERROR: ...memodes]/[vio]/vio/register_login/loggedin_mysql.lua:23: attempt to call global 'mysql_vio_query' (a nil value) [2014-11-09 20:34:34] ERROR: [vio]/vio/register_login/loggedin_mysql.lua:23: attempt to call global 'mysql_vio_query' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/fraktionen/gangareas.lua:55: attempt to call global 'mysql_query' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/fraktionen/fdepots.lua:23: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:34:34] ERROR: [vio]/vio/fraktionen/aztecas/aztecas_settings.lua:5: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:34:34] ERROR: [vio]/vio/fraktionen/biker/biker_gunshop.lua:9: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:34:34] ERROR: [vio]/vio/fraktionen/mafia/mafiasettings.lua:5: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:34:34] ERROR: [vio]/vio/fraktionen/triaden/triaden_settings.lua:5: attempt to call global 'MySQL_GetString' (a nil value) [2014-11-09 20:34:34] ERROR: [gamemodes]/[vio]/vio/internet/email_server.lua:3: attempt to call global 'mysql_query' (a nil value)
kannst mir da vllt auch helfen? Langsam versteh ich es nichtmehr
-
Guten Tag, liebe Community!
Ich versuche seid langem die Medic Fraktion einzufügen. Was genau muss ich wo genau eintragen? Ich weis das es viele Therads gibt, aber die Helfen mir nicht Weiter.
Ich suche unteranderem die SWAT Fraktion. Gibt es die Irgentwo zu downloaden, oder muss ich die wieder selber machen?
LG. Sulection
-
#closed ok.png gefunden klappt alles danke
-
Die ok.png ist vorhanden und den Vio Ganemode habe ich zurzeit nicht Installiert.
Trotzdem danke.
-
================================================================== 2014-07-29 05:47:21] Resource 'acpanel' requests some acl rights. Use the command 'aclrequest list acpanel' [2014-07-29 05:47:22] ERROR: Couldn't find script server/admin_acl.lua for resource admin2 [2014-07-29 05:47:22] Loading of resource 'admin2' failed [2014-07-29 05:47:28] ERROR: Couldn't find file images/reloadedPhone/ok.png for resource reloaded2 [2014-07-29 05:47:28] Loading of resource 'reloaded2' failed [2014-07-29 05:47:30] ERROR: Couldn't parse meta file for resource 'vio' [2014-07-29 05:47:30] Loading of resource 'vio' failed [2014-07-29 05:47:30] Resources: 196 loaded, 0 failed [2014-07-29 05:47:31] Querying game-monitor.com master server... failed! (301: Moved Permanently) [2014-07-29 05:47:31] Querying backup master server... success! [2014-07-29 05:47:31] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [2014-07-29 05:47:31] Starting resources... [2014-07-29 05:47:32] Server minclientversion is now 1.3.5-9.06367 [2014-07-29 05:47:32] ERROR: Couldn't find resource reloaded2. Check it exists. [2014-07-29 05:47:32] Server started and is ready to accept connections! [2014-07-29 05:47:32] To stop the server, type 'shutdown' or press Ctrl-C [2014-07-29 05:47:32] Type 'help' for a list of commands.
-
Schönen Guten Tag.
Ich wollte 2 Scripts Testen. Einamal das Los Angeles Script von Leyynen und einmal das Realoded Script : https://www.mta-sa.org/index.php?page…be2345b3cb41f53a aber wen ich alles eingetragen habe, steht dort
oder
Ich habe alles probiert aber nichts klappt. Kann mir einer Helfen?
-
Hallo,
Ich habe mich gefragt, wie man im Staatscomputer Kameras einfügt, wie bei Vio.
Unter Anzahl steht Kameras, und ich wollte fragen wie das geht.
Mfg Sulection
-
Guten Tag zusammen!
Ich habe in die Army base 2 Infernuse reingescriptet und die sind Schwartz.
Wie kann ich die Farbe der Autos in Grün ändern?
LuacreateFactionVehicle ( 411, -1438.5, 456.5, 7, 0, 0, 0, 8, 0, 0, 0, 0 ) createFactionVehicle ( 411, -1434.0999755859, 456.5, 7, 0, 0, 0, 8, 0, 0, 0, 0 )
Mfg. Sulection
-
Ist ja ok. Ich versuche ja nur zu Helfen.
-
Das ist bei jedem Nornal Verbuggt. Hasst du es in der acl.xml ACL Rechte gegeben?