Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. You're probably going to need to make your own or pay someone...
  2. xXMADEXx

    How to ...

    do you have any video Is it really that hard to read or do a little bit of research?
  3. I'm a freaking idiot idk why i didn't think of just re-writing the function :C
  4. We don't give support for leaked or stolen scripts.
  5. The script obviously isn't using some type of a saving method in the event of onPlayerQuit.
  6. xXMADEXx

    Housing

    Just simply download and install xampp, and if you need you can watch a video on how to setup and create a database. You make an attempt to learn how to do something yourself.
  7. so on line 1.local maker = createMarker ( 0, 0, 11, "cylinder", 2, 255, 255, 255 ,255 ) what does it mean ? sorry for too much questions but im new scriptor can u explane that language Line 1 is telling the script to create a maker element, and define it to the variable marker. If you want to get a better understanding of Lua, you can try reading this to help you out: viewtopic.php?f=148&t=75501
  8. Please use the command /debugscript 3 and upload a picture or log of the errors.
  9. Use the following functions: -- Event: onPlayerMute, onPlayetUnmute -- to check if the player is muted on the client side: setElementData getElementData -- for drawing: getElementPosition getWorldFromScreenPosition dxDrawText -- event: onClientPreRender
  10. You just need to use the function setVehiclePaintjob on a the server-side code.
  11. Here is a basic code to get you started: local maker = createMarker ( 0, 0, 11, "cylinder", 2, 255, 255, 255 ,255 ) local vehicles = { } addEventHandler ( "onMarkerHit", marker, function ( p ) if ( p and getElementType ( p ) == "player" and not isPedInVehicle ( p ) ) then -- destroy their old vehicle, if it exists if ( isElement ( vehicles [ p ] ) ) then destroyElement ( vehicles [ p ] ) end -- create the new vehicle vehicles [ p ] = createVehicle ( 411, 0, 0, 20 ) end end )
  12. What is the exact code you're using to try to connect to the database?
  13. xXMADEXx

    Forever vs Iraq

    Wow this video was very interesting. Excellent job
  14. Hello. First of all I don't know if there's another method to this, because I haven't really looked into it very much, but I think MTA should make getCommandHandlers. I think that MTA should make the function getCommandHandlers that returns a table of commands so that players could try to detect if a script has a backdoor or not. Maybe there should be an argument of the resource you want to get, but if it's not set then it will just return all commands. This way people could just run a basic script such as: for i, v in pairs ( getCommandHandlers ( resourceRoot ) ) do outputChatBox ( "Command: ".. tostring ( i ).." | Callback: "..tostring ( v ) ) end and they would know if the script has an obvious backdoor, even if it's compiled. The returned table should be something like the following: { ['CommandName'] = { resource = "The resource element where the command is located", callback = "The function the command executes", restricted = "restricted from addCommandHandler", caseSensitive = "is the command case sensitive" }, -- example: ['newcar'] = { resource = getResourceFromName ( "core_commands" ), callback = function ( ) end, restricted = false, caseSensitive = true } }
  15. xXMADEXx

    Help please ^.^

    You can download previous versions of MutliTheftAuto at: https://nightly.multitheftauto.com/
  16. There's not a way, you need to restart the server to change the log directory.
  17. https://community.multitheftauto.com/index.php?p= ... ls&id=1152
  18. Seems interesting, but it kind of sucks it's all compiled code..
  19. It could be done, but it would probably be easier to make your own turf system...
  20. The "acpanel" resource is requesting permissions to some functions. Just use: "aclrequest allow acpanel all"
  21. Hey guys. So, I'm writing a basic function for bordered text, but I can't figure out how to get RGBA from the tocolor number that is sent in the color argument. I'm trying to make it so that the back texts will have the same alpha as the main text. Thanks in advance.
  22. It just seems like an in-complete copy of SAES:RPG...
  23. The only way for a smooth camera movement is for you to use the onClientRender event.
×
×
  • Create New...