Jump to content

Malak

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by Malak

  1. Malak

    Editfield.

    You have another way to use a resource like. Only use this : function onDeleteCharacter() if editBoxState == true then textEdited = string.sub(textEdited,1,string.len(textEdited)-1) end end bindKey("backspace", "down", onDeleteCharacter) function onEditCharacter(character) if editBoxState == true then local count = string.len(textEdited) if count < 23 then textEdited = textEdited..character end end end addEventHandler("onClientCharacter", getRootElement(), onEditCharacter) Its just an exemple then in ur render function just put your dxDrawText(textEdited,x,y,w,h,tocolor(255,255,255,255)...) Its will take less memory and less download for players
  2. Good job for ur tutorial, I have got a problem, the web page could connect to my server : Oops, Something went wrong! Error: Could not connect to **.***.****.**:22005 i tested port and ip all should be fine. I use web hoster but for the server i am testing it in local and give my ip of my pc. EDIT : i tried with a server hosted by vortex and the result is same couldn't connect to the server.
  3. I fixed the problem by unistall my driver and take an older version. Thanx for all.
  4. Hello dear mta helpers. Yersterday i have got an problem in MTA, i was in windows 8.1 and all is working fine, i installed windows 10 and one problem appears, This problem appears in MTA 1.4 and MTA 1.5 (i think GTA:SA too) i really don't know how to fix it. When i take screenshot all going right but my screen have a bug i think its about 3D i have on the screen red and blue light shader around all object. http://imgur.com/Ch2zQyb all colors are bugged too. There is the pastebin generated by MTADiag : http://pastebin.mtasa.com/595590623
  5. Really, beautiful animation and dx good job !
  6. 50 time in a row with any stupid nicks. as i said its doesn't work.
  7. I don't have an account on the community, and i can't create a new one i don't know how its possible.
  8. Good job i hope u will make a Dx version
  9. Hello everybody, Today i am present you a new votemanger in Dx, You are free to download it and edit it. Screenshot : Download : (this script is just an edition about the original votemanager) Credit : [HC]Malak : scripter KekZ|Licinio : tester Have fun
  10. I hope this project will be not avorted like a lot of project here. I am ready to help you i am not a modeler and not a mapper but i am good as scripter.
  11. Good job but will be hard to put it in a public server. anyway good job mb u have ti work on the download.
  12. You sscript is nice, What about a collaboration our idea look like same and we started both a new gamemode with some same opinion. If you are interested cadu add me in skype.
  13. Anybody is interested by this project really ? (sorry for up but i don't understand this community, whne someone try to create something new, nobody care and then when they steal or leak ressource like RP, Race and others script all post or encourage them...) I need your opinion (and also a motivation). I hope you understand...
  14. Just use ur variable player.hunger it will be the same. where this variable decrease or increase ? (If the variable doesn't move you don't need to save it )
  15. That normal did u look the script. the marker and blip only show when someone get arrested and its show for the police. You need to arrest someone for show this marker. your script should work properly. I think you didn't watch this script and you didn't tryed to search what this script do. next time search alone before asking for nothing... PS : you should have another file for join cop team etc...
  16. Hi, What the problem in this script ? The ressource is correctly running ? Do you have error in server side ? Did you test it without others ressources ? (incompatibility with other script) We need more explanation.
  17. Malak

    Button Visible

    local money = getPlayerMoney(source)
  18. Try like that. tableSerial = { serial1, serial2 } and you condition : for i, s in ipairs(tableSerial) do if s == SV then -- action else --action end end don't forget to close your boucle when the result is find with break.
  19. Nobody can fix it without the script Shadex
  20. Malak

    [HELP] DxScroll

    Hi, Scrollbar is also a difficult script to make it in dX but in fact you can use the both function. onclientclick with button in 'up' states put a variable for looking if its hold. then when u use oncursormove make a math calcul for see the last position and the current position then u move your scrollbar (image) with it and also move the content too. I don't know to make you a good answer but i didn't have a lot of time for make you this script. I hope i could help you.
  21. Hi, Where is defined the variable vehicle ? mb try like that : guiGridListRemoveRow(test, rowV2)
  22. Malak

    I Need Help

    Hi, you can use this fonction and setElementHealth when this function is triggered you can also define wich type of damage the ped can be invinsible. This function is in server side , if you want with client side use onClientPlayerDamage. https://wiki.multitheftauto.com/wiki/OnPlayerDamage
  23. Hello everybody. Today i am present you my idea about a new gaming mode, Death Race (nspirate by the movie Death Race from 2008) Fast presentation : Death Race is a gamemode mixing Race and shooters with custom vehicle. In details by players progression : - Entering the server : When the players join the server an animation will show when the player finish the download associate with a login panel. (until this all is fine) After logined the players will see the main menu with several selection composed by :Arena, Training, Office, Garage and options. - Arena : The players can create an arena or join a current one. When you create an arena you can slect the amount of racer, the maps, the mode (free for all, team vs team). When the waiting menu you can select your car and see the setting of this arena. you can also see the vehicle of others racer. - Stats: You can see your stats and stats of others players, you can also load tops stats. - Warehouse: Buy new cars (3vehicle by accounts). Customisation of your car and your bonus (bought new weapons and others). The vehicle will have some parameter like speed, acceleration, adherence, weight and armor. In this garage you can bought engines, turbo, wheels, suspension, ammo box, vehicle color, weapons (gun, flamethower, rocket, grenade), Nepal, Armor shield, road spikes, mine and others...). - Options : In this part you can edit your setting of your account, setting of your game (shader, binds, others...) - Gameplay : This race will be not with checkpoint but by laps, first lap all pickup will be disable. its after the second laps that pickups will appears. 2 type of pickups : Attack & Defense Progression general : If you are interesting by the idea and you want take part of this project please contact me in skype : clement.vieville i will need one more developpers for help me and one modeler. Thanx for reading guys. I hope you will like this project. Malak.
  24. Nice project, try to keep ur good work ! Maybe you can try to traduce it in english you will get more players. Good luck !
×
×
  • Create New...