ViniciusMc478

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ViniciusMc478

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello What can this be? ERROR: admin\server\admin_server.Lua:1560: Admin security - Client/player mismatch from " ip player " (onElementDataChange humanity> function checkClient(checkAccess,player,...) if client and client ~= player and g_Prefs.securitylevel >= 2 then local desc = table.concat({...}," ") local ipAddress = getPlayerIP(client) outputDebugString( "Admin security - Client/player mismatch from " .. tostring(ipAddress) .. " (" .. tostring(desc) .. ")", 1 ) cancelEvent() if g_Prefs.clientcheckban then local reason = "admin checkClient (" .. tostring(desc) .. ")" addBan ( ipAddress, nil, nil, getRootElement(), reason ) end return true end
  2. Hi vehicle_spawns.Lua:1252: attempt to index a boolean value function respawnVehiclesInWater (vehiclesInWater) for i,veh in ipairs(vehiclesInWater) do if getElementModel(veh) == 453 then break end local col = getElementData(veh,"parent") --- ↓ id,x,y,z = getElementData(col,"spawn")[1],getElementData(col,"spawn")[2],getElementData(col,"spawn")[3],getElementData(col,"spawn")[4] -- respawnDayZVehicle(id,x,y,z,veh,col,getElementData(col,"MAX_Slots")) end end addEvent("respawnVehiclesInWater",true) addEventHandler("respawnVehiclesInWater",getRootElement(),respawnVehiclesInWater)
  3. Hello ERROR: admin\server\admin_server.Lua:1560: Admin security - Client/player mismatch from " IP " <onElementDataChanger humanity> function checkClient(checkAccess,player,...) if client and client ~= player and g_Prefs.securitylevel >= 2 then local desc = table.concat({...}," ") local ipAddress = getPlayerIP(client) -- ERROR ↓ outputDebugString( "Admin security - Client/player mismatch from " .. tostring(ipAddress) .. " (" .. tostring(desc) .. ")", 1 ) -- cancelEvent() if g_Prefs.clientcheckban then local reason = "admin checkClient (" .. tostring(desc) .. ")" addBan ( ipAddress, nil, nil, getRootElement(), reason ) end return true end
  4. Help plz survivorSystem.Lua:831: Bas argument @ 'destroyElement' [Expected element at argument 1] function removeAttachedOnDeath () if elementWeaponbBack[source] then detachElementFromBone(elementWeaponbBack[source]) destroyElement(elementWeaponbBack[source]) elementWeaponbBack[source] = false end if elementWeaponRaplace[source] then detachElementFromBone(elementWeaponRaplace[source]) destroyElement(elementWeaponRaplace[source]) elementWeaponRaplace[source] = false end -- Erro abaixo if elementBackpack[source] then detachElementFromBone(elementBackpack[source]) destroyElement(elementBackpack[source]) end -- if elementWeaponBack[source] then detachElementFromBone(elementWeaponBack[source]) destroyElement(elementWeaponBack[source]) elementWeaponBack[source] = false end end addEvent("kilLDayZPlayer",true) addEventHandler("kilLDayZPlayer",getRootElement(),removeAttachedOnDeath)
  5. Oi galera Estou precisando de ajuda com o script Group System, Eu quero quando o player aceitar o invite ele se auto excluir. Ou quando o jogador ser kicka ou expulso do grupo o convite se auto excluir Aceitar / Invite function refreshPlayerInvite () invited,gangName,inviter = isPlayerGangInvited(source) if invited then if not getElementData(source,"gang") == "None" then return end local gangmember = #getGangMembers(gangName) local gangvip = getGangSlots (gangName) triggerClientEvent(source,"updatePlayerInvites",source,gangName,getPlayerName(inviter),gangmember,gangvip) end end addEvent("refreshPlayerInvite",true) addEventHandler("refreshPlayerInvite",getRootElement(),refreshPlayerInvite) --Gui Triggers function acceptGroupInvite () invited,gangName,inviter = isPlayerGangInvited(source) if invited then if #getGangMembers(getElementData(inviter,"gang"))+1 > getGangSlots(getElementData(inviter,"gang")) then outputChatBox(getPlayerName(source)..", #22ff22Este grupo está cheio!",source,22,255,22,true) return end addGangMember(gangName,getAccountName(getPlayerAccount(source)),"O líder") outputChatBox(getPlayerName(source).." #22ff22Juntou-se ao grupo "..gangName.."!",getRootElement(),22,255,22,true) end end addEvent("acceptGroupInvite",true) addEventHandler("acceptGroupInvite",getRootElement(),acceptGroupInvite) Expulso / Saiu function leaveGroup () if getElementData(source,"gang") == "None" then return end local groupleader = getGangLeader(getElementData(source,"gang")) if getAccountName(getPlayerAccount(source)) == groupleader then outputChatBox(getPlayerName(source)..",#22ff22Você não pode deixar seu próprio grupo.!",source,22,255,22,true) return end outputChatBox(getPlayerName(source).." #22ff22Deixou o grupo: "..getElementData(source,"gang").."!" ,getRootElement(),22,255,22,true) removeGangMember(getAccountGang(getAccountName(getPlayerAccount(source))),getAccountName(getPlayerAccount(source))) end addEvent("leaveGroup",true) addEventHandler("leaveGroup",getRootElement(),leaveGroup) function kickGroupMember (playerName) if getElementData(source,"gang") == "None" then return end if string.find(playerName,"(O líder)") then return end --if getPlayerName(source) == playerName then return end local groupleader = getGangLeader(getElementData(source,"gang")) if getAccountName(getPlayerAccount(source)) == groupleader or isGangSubLeader(getElementData(source,"gang"),getAccountName(getPlayerAccount(source))) then outputChatBox(playerName.." #22ff22Banido de "..getElementData(source,"gang").."!",getRootElement(),22,255,22,true) removeGangMember(getElementData(source,"gang"),playerName,getPlayerName(source)) else outputChatBox(getPlayerName(source)..",#22ff22Você não pode expulsar os sobreviventes!",source,22,255,22,true) end end addEvent("kickGroupMember",true) addEventHandler("kickGroupMember",getRootElement(),kickGroupMember) Me ajudem pfv. Estou tentando colocar isso faz tempo e não consigo
  6. Hello Mta dayz vehicle_spawns.Lua function checkVehicleInWater () local randomPlayer = getRandomPlayer() triggerClientEvent(randomPlayer,"checkVehicleInWaterClient",randomPlayer) end setTimer(checkVehicleInWater,1800000,0) Error console: Bad argument @ ' triggerClientEvent' [Expected string at argument 1, got boolean]
  7. Oi Alguem pode me ajudar como eu uso o settime em um comando. Tipo /vip , Quero colocar um tempo 2horas para poder usar o comando. Como colocar uma msg tbm. EX: Voce tem esperar 2 horas para pegar isso denovo.
  8. Hi, I want to know what is the mass of the mta server. Player using /register Oi, Eu queria saber onde fica os logins e register dos players, Qual pasta. Dos players que usou /register