Jump to content

[MTA]revenngeR

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by [MTA]revenngeR

  1. BUG: Cant see other player. Spawns in the middle of sea and ALL objects are in one place. Createprojectile creates the projectile but i dont see the explosion.
  2. When i try to do those commands ln -s /lib/libpcre.so.0 /lib/libpcre.so.3 chcon -t textrel_shlib_t core.so chcon -t textrel_shlib_t xmll.so chcon -t textrel_shlib_t net.so chcon -t textrel_shlib_t mods/deathmatch/deathmatch.so It gives me this GameServers@platzii mta-server]$ ln -s /lib/libpcre.so.0 /lib/libpcre.so.3 ln: creating symbolic link `/lib/libpcre.so.3' to `/lib/libpcre.so.0': File exists [GameServers@platzii mta-server]$ chcon -t textrel_shlib_t core.so chcon: can't apply partial context to unlabeled file core.so [GameServers@platzii mta-server]$ chcon -t textrel_shlib_t xmll.so chcon: can't apply partial context to unlabeled file xmll.so [GameServers@platzii mta-server]$ chcon -t textrel_shlib_t net.so chcon: can't apply partial context to unlabeled file net.so [GameServers@platzii mta-server]$ chcon -t textrel_shlib_t mods/deathmatch/deathmatch.so chcon: can't apply partial context to unlabeled file mods/deathmatch/deathmatch.so Can someone help me?!
  3. i thought i pressed edit button sry delete this post
  4. function getPositionInFrontOfElement(element) --Get the position 5 units in front local transformed = matrix{0,5,0} * matrix(getElementMatrix(element)) --Get our offset components local offX,offY,offZ = transformed[1][1],transformed[2][1],transformed[3][1] --Return the transformed point return offX, offY, offZ end This gets player front how can i make that code to check the player front?
  5. local vehicle = getPlayerOccupiedVehicle(getLocalPlayer()) local x, y, z = getElementVelocity(vehicle) setElementVelocity(vehicle, 0.34+x, y, z) I want it to go forward not up or other direction. (it goes 45 degrees too )
  6. http://mta.pastebay.com/52311 There is the full client code. And it's not mine is it a crime to fix errors? PS: its a nightly build gamemode
  7. [MTA]revenngeR

    Help!

    WARNING: Bad argument @ killtimer function ObjMissionText:killMissionText() -- kill any active timers killTimer(self._fadeTimer) -- LINE 136 -- kill active fading fadeText = false -- render invisible for k, v in ipairs(self._imageTbl) do guiSetVisible(v, false) guiSetAlpha(v, 0) end self._fadeAlpha = 1.0 self._textVisible = false end ERROR: ATTEMPT TO COMPARE NIL WITH NUMBER function callbackHit(theShape, matchingDimension) local id = "" if (objTimerUtils:getSpawned() and getElementType(source) == "player" and source == player) then id = tonumber(getElementData(theShape, "id")) if (id <= 100) then -- [b]THE ERROR[/b] objSpawnpoints:triggerPulse(id, true) objClientPlayer:setProtected(true) if (objClientPlayer:getGameState() == "STRoundStarted") then objSpawnpoints:lockToMarkerByID(objClientPlayer, id, true) objSpawnpoints:setSpawnpointID(id) bindKey("enter", "down", keyFunc) end end if (id >= 101 and id <= 499) then objClientVehicles:triggerBlip(id, "1", 255) end if (id >= 500 and id <= 699) then objLiftMarkers:triggerPulse(id, true) if (objClientPlayer:getGameState() == "STRoundStarted") then objLiftMarkers:lockToMarkerByID(objClientPlayer, id, true) bindKey("enter", "down", keyFunc) end end if (id >= 3001 and id <= 3499) then objRefuelMarkers:triggerPulse(id, true) end if (id >= 3500 and id <= 3999) then if (getPedOccupiedVehicle(source) ~= false) then if (getElementData(getPedOccupiedVehicle(source), "id") ~= false) then if (not objClientVehicles:getCanRepairByID(getElementData(getPedOccupiedVehicle(source), "id"))) then objTextManager:createInstructDsp({"closerepair", "blank"}) end end end objRepairMarkers:triggerPulse(id, true) end if (id >= 4000 and id <= 4100) then objWarfactoryMarkers:triggerPulse(id, true) if (objClientVehicles:isPlayerController(source) ~= false and objWarfactoryMarkers:isVehicleAllowed(source, id)) then objClientWarfactory:Process("funcWaitingTransfer", getPedOccupiedVehicle(source)) bindKey("space", "down", keyFunc) end end if (id >= 4101 and id <= 4199) then objAmmodepotMarkers:triggerPulse(id, true) end end end CAN SOMEONE HELP ME RESOLVE THESE ERROR/WARNING
×
×
  • Create New...