Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. He would have to get all the players in dimension 2 like that.
  2. De-compiling a script is illegal & noobish.
  3. Whats wrong with setTimer?
  4. xXMADEXx

    help

    Errors in debugscript?
  5. Some Recent Updates:: Got a new paid host, with a web-hosting package Changed website theme to look more professional Added a forum
  6. Trying to sell an unfinished and outdated gamemode? O_o
  7. Are you planning on paying them?
  8. Try loading the .dff file first.
  9. Does debugscript say any errors?
  10. They could only add resources if you have an in-game script maker/editor, or you are running an FTP Server.
  11. ((Not Tested)) --Teams copTeams = { ["Police"] = true, ["Squads"] = true, ["SCO19"] = true, ["United States Secret Service"] = true, ["The United States Army"] = true } criminalTeams = { ["Criminals"] = true, ["The Confederate States Army"] = true, ["Gangs"] = true, ["Night Factory"] = true } --First door FirstDoor = createObject ( 2929, 288.299, 1411.199, 11.199, 0, 0, 90 ) FirstMarker = createMarker ( 288.7, 1411.5, 9.399, "cylinder", 5, 255, 0, 0, 0 ) function firstDoorCops ( markerHit, matchingDimension ) local team = getPlayerteam ( markerHit ) if ( getElementType ( hitMarker ) == 'player' and team and copTeams[getTeamName(team)] ) then moveObject ( FirstDoor, 5000, 288.299, 1411.199, 13.899 ) moveObject ( FirstDoor, 20000, 288.299, 1411.199, 13.899 ) end end addEventHandler ( "onMarkerHit", FirstMarker, firstDoorCops ) --Second SecoundDoor = createObject ( 2929, 204, 1411.19, 11.199, 0, 0, 90 ) SecoundMarker = createMarker ( 208.6, 1410.9, 9.6, "cylinder", 255, 0, 0, 0 ) function secoundDoorCrims ( markerHit, matchingDimension ) local team = getPlayerTeam ( markerHit ) if ( getElementType ( hitMarker ) == 'player' and team and criminalTeams[getTeamName(team)] ) then moveObject ( SecoundDoor, 20000, 204, 1411.199, 13.899 ) end end addEventHandler ( "onMarkerHit", getRootElement(), secoundDoorCrims )
  12. He isn't the only scripter who could make it...
  13. You should make the code on the client side, otherwise it will be all buggy when more then 1 players are trying to select a skin.
  14. uh im trying to unzip a file that I made the resource download, I don't think that it would work..
  15. Yea, you can use that How to use createObject: Example: MyObject = createObject ( 980, 500, 300, 101, 0, 0, 90 ) -- element createObject ( int objectID, float x, float y, float z, float rx, float ry, float rz ) -- This is all the args you will need
  16. There is no specific function for it. You'll need: createPed setElementModel bindKey createObject
  17. Stolen: https://community.multitheftauto.com/index.php?p= ... ls&id=7828 Original: https://community.multitheftauto.com/index.php?p= ... ils&id=357 DONE
  18. No, there isn't.
  19. You need to set the property in the admin panel client GUI file.
  20. guiSetProperty (Property Name: NormalTextColour (I think ))
  21. What do you mean? Like the color of the text in the admin panel?
  22. I don't think it is either... I hope MTA gets the luazip addon.
  23. Hi guys, i don't think that its really possible via MTA, but why not ask... Is it possible to unzip a .zip file via Mta scripting?
  24. make sure that 'playerSource' is defined as a player element also. outputChatBox("Player: "..getPlayerName(playerSource).." like trees!", playerSource)
  25. Thank you
×
×
  • Create New...