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. xXMADEXx

    help

    Errors in debugscript?
  3. Some Recent Updates:: Got a new paid host, with a web-hosting package Changed website theme to look more professional Added a forum
  4. Trying to sell an unfinished and outdated gamemode? O_o
  5. Try loading the .dff file first.
  6. Does debugscript say any errors?
  7. They could only add resources if you have an in-game script maker/editor, or you are running an FTP Server.
  8. ((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 )
  9. He isn't the only scripter who could make it...
  10. 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.
  11. uh im trying to unzip a file that I made the resource download, I don't think that it would work..
  12. 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
  13. There is no specific function for it. You'll need: createPed setElementModel bindKey createObject
  14. Stolen: https://community.multitheftauto.com/index.php?p= ... ls&id=7828 Original: https://community.multitheftauto.com/index.php?p= ... ils&id=357 DONE
  15. You need to set the property in the admin panel client GUI file.
  16. guiSetProperty (Property Name: NormalTextColour (I think ))
  17. What do you mean? Like the color of the text in the admin panel?
  18. I don't think it is either... I hope MTA gets the luazip addon.
  19. 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?
  20. make sure that 'playerSource' is defined as a player element also. outputChatBox("Player: "..getPlayerName(playerSource).." like trees!", playerSource)
×
×
  • Create New...