
karlis
Members-
Posts
1,314 -
Joined
-
Last visited
Everything posted by karlis
-
Possible Hacking Attempt
karlis replied to zorrigas's topic in Site/Forum/Discord/Mantis/Wiki related
lol could someone explain the logic of that attempt? -
so?why are you posting it?problems?then tell them!
-
okay that makes pefect sense. so far what ive learned is i need a meta.xml to load the lua. so far so good, but how should i code the lua so that when it loads as a resourse, it will pop open when i press F6 for example? Edit: i loaded a gui from a help resurce i downloaded from my clan's server. i managed to load it up right, but after ive made a few edits, i see no option for outputting the code... now how do i save this? its very unclear to me =(. i suggest you to move to scripting section, and describe problem there
-
i bet he dont knows "player" and "value" need be replaced lol.
-
just add file and script with replace on map
-
try setting element data first, then call scoreboard, and change data when money changes
-
rofl this resource dont let download bcoz error404 https://community.multitheftauto.com/index.php?p= ... ils&id=677 but this have only meta included https://community.multitheftauto.com/index.php?p= ... ils&id=676
-
call(getResourceFromName("scoreboard"), "addScoreboardColumn", "money") --and use this when need change value setElementData( player, "money", value) ps:im not sure, isnt there build in money element data for player?
-
https://community.multitheftauto.com/index.php?p= ... ils&id=675 stolen from drunk drivers club servers
-
sory got it wrong(as usual )
-
i dont trust this one, why do process killer app need use 10mb ram and 5%cpu?
-
some small thingies in main menu(just for better desgin) make buttons lil bigger, looks not really nice if text for buttons almost "hits" button bounds and make guis not sizable edit: stoping playback should make all ped key states to false
-
change mosuemove to mousemove
-
pfff who the hell need lock such an files, whats the point of locking at all, mta comunity is small enought to to see and terminate all ownmade-claimers
-
slothman, better return bot element if bot is spawned, then its posible for scripters to integrate own features document that spawnBot will return bot element, not bool ----------------- ped nametags from peds resurce(credits to 50p) addEventHandler( "onClientRender", getRootElement(),function() for k, myPed in pairs( myPeds ) do local x, y, z = getElementPosition( myPed ) if isElementOnScreen( myPed ) then local X, Y = getScreenFromWorldPosition( x, y, z ) if X then dxDrawRectangle( X - 30, Y - 20, 60, 10, tocolor( 0, 0, 0, 120), 10 ) local health = getElementHealth( myPed ) local lineLength = 56 * ( health / 100 ) dxDrawRectangle( X - 28, Y - 18, lineLength, 6, tocolor( 255, 0, 0, 100 ), 6 ); end end end end)
-
well about right click: i know someone says no big deal that no right click menu, but i incredibly hate ctrl+c and ctrl+v, so i think it would be useful btw another small thing: when you click on searchboxes in resource and function panels "search" text should disapear
-
try this, heres included that 3sec timer local lastMouseTick=0 local enabled=false function mousemove() lastMouseTick=getTickCount() end function targetcam() if getTickCount()-3000>lastMouseTick then setCameraTarget(getLocalPlayer()) end end function enablecam() if enabled then removeEventHandler("onClientMouseMove",getRootElement(),mosuemove) removeEventHandler("onClientPreRender",getRootElement(),targetcam) else addEventHandler("onClientMouseMove",getRootElement(),mosuemove) addEventHandler("onClientPreRender",getRootElement(),targetcam) end enabled=not enabled end addCommandHandler("nfscam",enablecam) bindKey("N","up","nfscam") note:im not sure do i need use onClientMouseMove or onClientCursorMove
-
Nice, ur becoming famous with stage
-
Ye, very nice would be to check mouse and dont set target if mouse moving
-
hud is not removed, and thats also not cockpit, and add some math.round for camera position for camera shake terminating
-
no it doesnt have right click, and its acting veird sometimes
-
http://www.whatismyip.com
-
some simple trigonometry, and getting position of vehicle, and zrotation --clientside local enabled=false function getPointFromDistanceRotation(x, y, dist, angle) --credits to robhol local a = math.rad(90 - angle) local dx = math.cos(a) * dist local dy = math.sin(a) * dist return x+dx, y+dy end addCommandHandler("nfscam",function() if enabled then removeEventHandler("onClientRender",getRootElement(),rendercam) else addEventHandler("onClientRender",getRootElement(),rendercam) end enabled=not enabled end) function rendercam() local x,y,z=getElementPosition(getPedOccupiedVehicle(getLocalPlayer())) local _,_,rotz=getElementRotation(getPedOccupiedVehicle(getLocalPlayer())) local x2,y2=getPointFromDistanceRotation(x, y, 15, rotz+180%360) setCameraMatrix(x,y,z,x2,y2,z+6) end
-
thats meta.xml scanner bug