Malak

Members
  • Content Count

    62
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Malak

  • Rank
    Snitch

Recent Profile Visitors

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

  1. better to use event onclientvehicledamage
  2. Malak

    KILL CAMERA

    sorry for the up but i still didn't find the good way please tell me how can i stock the screen properly.
  3. Malak

    KILL CAMERA

    I still didn't find any solution for it, i need your help
  4. Malak

    KILL CAMERA

    Hello guys, Today i am asking you about a problem of optimisation of the recording a video in mta. I want to record a sentance of 15 secondes and then replay it after sent it to the guy who get killed by the killer. There is my code for testing the recording : local Replay = {} Replay.state = 0 Replay.count = 0 Replay.decount = 0 local screenWidth,screenHeight = guiGetScreenSize() function onRecordReplay() Replay.screensource = dxCreateScreenSource ( screenWidth/2, screenHeight/2 ) Replay.state = 1 Replay.record = {} addEventHandler("onClientRender",root,ReplayFunction) end function onStopReplay() removeEventHandler("onClientRender",root,ReplayFunction) Replay.screensource = nil Replay.state = 0 Replay.record = {} end function checkPlayerDeath() if getElementData(source,"replay") == true then outputDebugString("Replay Launch") Replay.state = 2 end end addEventHandler("onClientPlayerWasted", root, checkPlayerDeath) addCommandHandler("replay", function() if getElementData(localPlayer,"replay") == true then setElementData(localPlayer,"replay",false) onStopReplay() else setElementData(localPlayer,"replay",true) onRecordReplay() end end) function ReplayFunction() if Replay.state == 1 then if Replay.count < 151 then outputDebugString("Record ".. Replay.count) dxUpdateScreenSource( Replay.screensource ) Replay.record[Replay.count] = dxCreateTexture(dxGetTexturePixels (Replay.screensource)) Replay.count = Replay.count+1 end elseif Replay.state == 2 then if Replay.decount < Replay.count then outputDebugString("Show "..Replay.decount) dxDrawImage( screenWidth - screenWidth, screenHeight - screenHeight, screenWidth, screenHeight, Replay.record[Replay.decount], 0, 0, 0, tocolor (255, 255, 255, 255), true) Replay.decount = Replay.decount+1 end end end Actually this little code work but when i am recording i am lagging so hard and fps drop to 5. due to dxCreateTexture and dxGetTexturePixels so i ask you if you have another idea to stock my image for record it after.
  5. Malak

    deleted

    I think it will be great to improve the design of the interface.
  6. Malak

    [REL]Map loader

    Hm let me see, all gamemode without execute mapmanager ^^ Anyway its really good script, good job !
  7. Malak

    File editor

    One of the most usefull resource for developpers, great job !!! Thanx you !
  8. We need to know what u really need. and what u are working on.
  9. Delux host is a total crap. I bought an extend never give and a new server for nothing. Delux host is 0% serious and reactive. Take Vortex is even better.
  10. i tryed to contact you but udidn't even replied just one guys asked me (your fake cousin because it was u) for make DD script .
  11. Hello MTA players, I am glad to announce you today a new tournament for the community ! http://www.mtasa-dd.com team present : "The international destruction derby championships" Registration is already open, and tournament will be started when we will get 16 teams! First is group stage with 8 teams in each group, both groups will fight all vs all (3vs3...vs3) Then play off with upper and lower brackets, first 4 places from each group - upper bracket, another teams - lower bracket. Prize for the clan winner is 100 euros, more details in our special page (see below). What is mtasa-dd team ? This is the place specially for Descturction Derby community. The main target of this site, to make clan wars more fair, because now there is a lot of problems like guys who abusing admin rights during cw, or not existence of "official" rules for cws, etc. So we wrote the rules for clan wars and made the forum for results of cws, if someone was abusing admin rights, you just put the screen with proofs, and their team get -1 karma or +1 warning (such function will be added soon). Before cw you can check profile of any team and see their karma to make decision if its good idea to play against them. Btw this is resolving the problem when teams dont want add their defeats on their site, now all will see results on our site. This is will works only if teams and players will support this site and idea. We are welcome for your questions and suggestions on our forum, everything in your hands. Except this, we made another things like media page, list of clans, function to get subforum for guys who wanna make the tournament or any event, etc We will continue to work with it till we have ideas, but as we said - everything in your hands because its nothing without your support. Site: http://www.mtasa-dd.com/ Special page for tournament: http://international.mtasa-dd.com/ Forum of tournament (registration, rules, etc): http://www.forum.mtasa-dd.com/viewforum.php?f=25
  12. Malak

    Web browser

    Nobody give me an answer and my browser still don't work. why my injectBrowserMouseDown wont work properly ?