-
Posts
18 -
Joined
-
Last visited
Everything posted by Jani1337
-
imo it happens because of the jump out animation, and the detection not being fast enough
-
works well most of the times, but if they spam the get out button before hitting the water it still bugs out.
-
Doesn't work, if they press it just before it happens it still bugs out.
-
Hello! I've been working on a script that teleports you to the last saved position when you fall into water with your car. That works great, but i would like to make it teleport you to the nearest road, as if you fall thru the ground, how could i do that? Teleporting the car under the map works, but then players can glitch out if they press F in the wrong moment. Any ideas/help?
-
How can i make this work ? How could i do that you can tow motorcycles ?
-
I guess i will have to put the event away... Players will be angry lol
-
Edit : Now i only get Console kicked Jani reason : #AC 11 or something like that Only that player Jani tried to connect while banned by MTA from ip (MY IP) serial : blah blah blaa BTW i was on my server. Then i restarted and got banned. So i dont understand.
-
The saddest thing is that i cant even go to my server ...
-
I didnt know that lol
-
Thanks ... : / i feel so stupid. PS: it was an injector not cheat engine. It was game owner or i dont know.
-
Hi ! I just got banned for five days. I wasnt using any sort of trainer or cheats, i was chilling on a server with my buddy. I restarted my pc then i was banned. Please unban me i wasnt doing anything wrong / if i was im so sorry. I want to play again with my buddy. Thanks Picture : http://prntscr.com/ka5kt9 Serial : 9BC41DB2DB129348886FB6A5603433F2 PS. a DLL injector was running in background but it wasnt in use. I left it open from a previuos game. Im so stupid. Please consider unbanning me ... Thanks. Best regards, Jani MTA STAFF ANSWER (Not going to bump this old thread): You got banned with a delay for injecting a custom DLL, which was an MTA hack that was very short-lived. It featured things like jetpack hack, no gravity, and vehicle godmode. You received it directly from the cheat developer and you know who that is. Don't cheat, don't lie.
-
Why is this script broken ? function impoundVehicle(thePlayer, commandName) if tonumber(getElementData(thePlayer, "acc:admin") or 0) >= 8 or exports.exg_dashboard:isPlayerInFaction(thePlayer, 7) then if getElementData(thePlayer, "loggedin") then for k, v in ipairs(getElementsByType("vehicle")) do local x, y, z = getElementPosition(thePlayer) local tx, ty, tz = getElementPosition(v) local int, dim = getElementInterior(thePlayer), getElementDimension(thePlayer) local tint, tdim = getElementInterior(v), getElementDimension(v) local distance = getDistanceBetweenPoints3D(x, y, z, tx, ty, tz) if distance <= 3 and int == tint and dim == tdim then local veh = v local ownerID = getElementData(veh, "veh:owner") or 0 local ownerName = getElementData(veh, "veh:oname") or "" local vehName = exports.exg_carshop:getVehicleRealName(getElementModel(veh)) local plate = getVehiclePlateText(veh) local vehID = getElementData(veh, "veh:id") setElementDimension(veh, 10000+ownerID) setElementData(veh, "veh:impounded", 1) dbExec(con, "UPDATE vehicle SET lefoglalva='1' WHERE id='" .. vehID .. "'") for key, value in ipairs(getElementsByType("player")) do if getElementData(value, "loggedin") and getElementData(value, "acc:id") == ownerID then outputChatBox(" ", value) --outputChatBox("#0094ffLos Santos Police Department:#ffffff Egy járművét szabálytalan parkolás miatt lefoglaltuk. További információkért fáradjon be a postára, és vegye át a hivatalos értesítőt.", value, 255, 255, 255, true) --outputChatBox("#0094ffTípus: #ffffff"..vehName .. "", value, 255, 255, 255, true) --outputChatBox("#0094ffRendszám: #ffffff"..plate .. "", value, 255, 255, 255, true) outputChatBox("================ #0094ffLos Santos Police Department értesítés#ffffff ================", value, 255, 255, 255, true) outputChatBox("#ffffffEgy járművét lefoglaltuk. Amennyiben szeretné kiváltani, forduljon a rendőrséghez.", value, 255, 255, 255, true) outputChatBox(" ", value) sendGroupMessage(7, getPlayerName(thePlayer) .. " lefoglalt egy járművet.") sendGroupMessage(7, "Rendszám: " .. plate .. " | Típus: " .. vehName .. "") sendGroupMessage(7, "Tulajdonosként nyílvántartott: " .. ownerName .. "") exports.mta_admin:outputAdminMessage("#7cc576" .. getPlayerName(thePlayer):gsub("_"," ") .. "#ffffff lefoglalt egy járművet. (" .. plate .. " | " .. vehID .. ")") end end end end end end end addCommandHandler("lefoglal", impoundVehicle) It works. But the cars dimension doesent change
-
Hi ! I just downloaded a simple script that puts NOS into cars when u hold fire. I wanted to make it so it only works for selected serials but now i get this error : ERROR : Loading script failed: nos\nitro.lua:17: unexpected symbol near ')' Please help ! Attached code bellow Engedelyezettserial means AllowedSerials engedelyezettserial = { [""]=true, -- NoOne [""]=true, -- Mili ["9BC41DB2DB129348886FB6A5603433F2"]=true, -- Jani } g_Me = getLocalPlayer( ); g_Root = getRootElement( ); g_ResRoot = getResourceRootElement( ); addEventHandler( "onClientResourceStart", g_ResRoot, function( ) if engedelyezettserial[getPlayerSerial(thePlayer)] then bindKey( "vehicle_fire", "both", toggleNOS ); bindKey( "vehicle_secondary_fire", "both", toggleNOS ); end ) function toggleNOS( key, state ) local veh = getPedOccupiedVehicle( g_Me ); if engedelyezettserial[getPlayerSerial(thePlayer)] then if veh and not isEditingPosition then if state == "up" then removeVehicleUpgrade( veh, 1010 ); setControlState( "vehicle_fire", false ); else addVehicleUpgrade( veh, 1010 ); end end end