Jump to content

Bishop_G

Members
  • Posts

    16
  • Joined

  • Last visited

Recent Profile Visitors

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

Bishop_G's Achievements

Square

Square (6/54)

2

Reputation

  1. Thanks for your information, IIYAMA!
  2. Hello community, I may be sharing this in the wrong place but I need help. When someone logs into my server, the things I will share below occur and the players in the game are exiting the game with a TIMED OUT. I banned this person before but he enters from different IPs and serials. Is this an attack? How can I prevent this? Look at these errors. None of these codes are from my resources but I don't understand how this happens. I see these debugs when he trying to enter server: [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event computers:on, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event computers:on, but event is not added serverside [DUP x199] [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event uncuff, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event uncuff, but event is not added serverside [DUP x19] [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event item:move:save, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event es-system:acceptDeath, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event killmebyped, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event es-system:acceptDeath, but event is not added serverside [DUP x9] [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event killmebyped, but event is not added serverside [DUP x9] [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event computers:on, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event computers:on, but event is not added serverside [DUP x199] [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event uncuff, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event uncuff, but event is not added serverside [DUP x19] [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event awardPlayer, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event awardPlayer, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event AnimationSet, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event sendLocalMeAction, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event sendLocalMeAction, but event is not added serverside [2025-05-01 18:54:40] ERROR: Client (FascinatedCrab2) triggered serverside event vehlib:deleteVehicle, but event is not added serverside [2025-05-01 18:54:46] ERROR: Client (FascinatedCrab2) triggered serverside event vehlib:deleteVehicle, but event is not added serverside [DUP x38133]
  3. It's great to see you here again after years. This worked. Thanks IIYAMA!
  4. Guys I'm really stuck and going crazy.Please I need urgent help.I'm adding vehicle upgrades to a panel. All the upgrades are in the panel. When I press the add button I get this error and warning: WARNING:Resources\VehPanel\server.lua:25:Access denied @ 'loadstring' ERROR:Resources\VehPanel\server.lua:25:attempt to call a nil value Please someone help me.I will be very appreciative of this. serverside codes are here: allowedFunctions = { ["addVehicleUpgrade"]=true, ["removeVehicleUpgrade"]=true, ["fixVehicle"]=true,["setVehicleColor"]=true } function callClientFunction(client, funcname, ...) local arg = { ... } if (arg[1]) then for key, value in next, arg do if (type(value) == "number") then arg[key] = tostring(value) end end end -- If the clientside event handler is not in the same resource, replace 'resourceRoot' with the appropriate element triggerClientEvent(client, "onServerCallsClientFunction", resourceRoot, funcname, unpack(arg or {})) end function callServerFunction(funcname, ...) if not allowedFunctions[funcname] then -- Protect server from abuse outputServerLog( "SECURITY: " .. tostring(getPlayerName(client)) .. " tried to use function " .. tostring(funcname) ) return end local arg = { ... } if (arg[1]) then for key, value in next, arg do arg[key] = tonumber(value) or value end end loadstring("return "..funcname)()(unpack(arg)) end addEvent("onClientCallsServerFunction", true) addEventHandler("onClientCallsServerFunction", resourceRoot , callServerFunction)
  5. createPed createColCircle setElementRotation --setPedRotation is deprecated. setPedWalkingStyle setPedControlState --Use walk and forwards as control names.(give true as value) isElementWithinColShape setPedControlState --ped is in circle col and this value will be false (stop ped) outputChatBox --If you want a message visible to everyone, trigger it from the server side. addCommandHandler --create command event
  6. No. Players are teleported to the mission from the gui panel. But I want there to be only one player in the mission. That's why I gave an element data to the gui button. But I want to set this element data to false when the mission is finished from the server side. I don't know how to do this. For example, there is onPlayerWasted on the server side. When the player dies, the mission is canceled. In other words, when the player dies, the button on the gui panel must now be active. I will set the gui button element to false. But I don't know how to do this in the onPlayerWasted event on the server side.
  7. Hi Community, I created a panel for players to enter missions.There are names of the missions in the gridlists. But I do not want two players to enter the same mission.To prevent this, I gave data to the button to select the mission, and even if a second player clicks on that button, second player cannot enter the mission. The mission is on the server side and I want to give false data to the gui button when the mission is completed. How can I do this? How can I give false data to the gui button from the server side? can you help me ? function GoMission() if ( source == spawnButton ) then if getElementData(spawnButton,"paparazziFull") then return end --Other player cannot enter the mission local name = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) if name == "Kill The Paparazzi" then setElementData(spawnButton,"paparazziFull",true) ----- There is someone in mission triggerServerEvent("PaparazziStart",localPlayer,localPlayer) guiSetVisible(GUIEditor.window[1], false) showCursor(false) playSoundFrontEnd ( 6) elseif name == "Andre Must Die" then triggerServerEvent("andreStart",localPlayer,localPlayer) guiSetVisible(GUIEditor.window[1], false) showCursor(false) playSoundFrontEnd ( 6) elseif name == "Cleaning The Hood" then triggerServerEvent("DrugDealerStart",localPlayer,localPlayer) guiSetVisible(GUIEditor.window[1], false) showCursor(false) playSoundFrontEnd ( 6) elseif name == "Rifas Die In Vinewood" then triggerServerEvent("rifaStart",localPlayer,localPlayer) guiSetVisible(GUIEditor.window[1], false) showCursor(false) playSoundFrontEnd ( 6) end end end addEventHandler("onClientGUIClick",spawnButton,GoMission)
  8. Bishop_G

    Onplayerjump

    setAnalogControlState - Multi Theft Auto: Wiki Control names - Multi Theft Auto: Wiki It would be more helpful if you share here how you made it jump once.
  9. Bishop_G

    Onplayerjump

    setTimer(function() --YOUR CODES HERE-- end, 30000, 0) This function runs whatever you want every 30 seconds.
  10. hello Community, I want to make the marker like in GTA:SA. As you know, the marker rotates around its own axis in GTA:SA. setElementRotation does not work for the marker. Which function can I use to rotate the marker from left to right? I can use onClientRender as an event. But I don't know which function to use. Can you help?
  11. I'm working on creating a mission. In the mission, I will take a photo of a dead ped. But I don't know which event to use for the camera. onPlayerWeaponFire does not work for the camera. Does anyone know which event to use?
  12. function playZombieSounds() local ped = getElementsByType("ped") for theKey,peds in ipairs(ped) do if ped and isElement(peds) and isElementStreamedIn(peds) then if getElementData(peds,"deadman") or getElementData(peds,"Muerto") return end local Zx,Zy,Zz = getElementPosition(peds) zedSound = playSound3D(zombiesounds[math.random(1,#zombiesounds)], Zx, Zy, Zz, false) setSoundMaxDistance(zedSound,5) end end end setTimer(playZombieSounds,6000,0)
  13. I tried KANKA but it didn't work. DiSaMe is right. These functions don't work on objects that are not set with the map editor. I will do it thanks
  14. use setPedVoice function.
×
×
  • Create New...