Jump to content

will briggs

Members
  • Posts

    423
  • Joined

  • Last visited

Everything posted by will briggs

  1. To be added to what, and also the MTA team are busy making 1.1 so i think thats not 1 of there concerns atm...
  2. May i ask what you need? Do you need help our is this an example...
  3. Hi, Im trying to make a gui open on marker enter, but close when you press the ok button. This is what i got, local Police = createTeam("Police", 0, 0, 255) -- this will create the team everytime the local teamMarker = createMarker(1553.33, -1677.37, 15, 'cylinder', 1.5, 0, 0, 255, 150 ) function teamMarkerHit( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" and not isPedInVehicle(hitElement) then if getPlayerTeam (hitElement) == Police then outputChatBox("Steven: You are already employed by this department.", hitElement) else local policeWindow = guiCreateWindow ( 0, 0, 0.5, 0.4, "Police Application",true) setPlayerTeam ( hitElement, Police) setPlayerSkin( hitElement, 280) giveWeapon ( hitElement, 3, 1, true ) giveWeapon ( hitElement, 22, 148, true ) giveWeapon ( hitElement, 29, 64, true ) giveWeapon ( hitElement, 25, 10, true ) end end end addEventHandler( "onMarkerHit", teamMarker , teamMarkerHit ) But its stopped everyting else from working.
  4. Right ok, sorry but im learning, I know other languages but it takes a while to sync in, I do understand it all...
  5. Ok please make it and PM it me... ASAP
  6. This doesnt seem to be working, i get an error on my server window saying : Then expected near kw2 Please help?
  7. does it put an blips on the map? Cus i know where the first bank is, but it just isnt there, you cant go in it. Do i need the extra interiour resource? Please help.
  8. Hi, I donwloaded 50'ps bank resource of the comunity, i added it to my resources and started it, it says new db available. And says resource started. But when i visit the locations of the bank, they just are not there. I know its a vaige description but can anyone help me
  9. Thanks, I shal review its progress
  10. Its should be in your resources folder c:\program files\multitheftauto\server\mods\deathmatch\resources your file should be there
  11. You will need to make use of these to functions, you can check it out at these links. Creating the object : https://wiki.multitheftauto.com/wiki/CreateObject Making the object move : https://wiki.multitheftauto.com/wiki/MoveObject Hope you understand
  12. Have you changed the mode, change it to race and set all the setting you want. Should work.
  13. Try this Press F>Click objects>Change your object You should be on another objact and able to click off.
  14. Your song file or the resource has a space in the name to e.g song - Im not alone, will not work. Change it to e.g Im-not-alone and your problem is solved
  15. Hi, I run a server on a windows xp sp3 machine, Pentium 4 3ghz, 2gb Ram. I can leave my server on and it will work for about 1 hour. After 1 hour ish it reduces its frame rate slowly, until it gets to 1 fps. Then on the client side, says network error and disconnects you. Can anyone help me? Its preventing me from running my server live. Thanks
  16. Hi, I made a script where you enter the marker and it sets your team, puts you in a police skin and gives you weapons. but you can keep going back and getting more weapons :\ I need a way so you can only go as get weapons once until you leave the team, when they are removed. This is what i got so far local Police = createTeam("Police", 0, 0, 255) -- this will create the team everytime the script starts local teamMarker = createMarker(1553.33, -1677.37, 15.382, 'cylinder', 1.0, 0, 0, 255, 150 ) function teamMarkerHit( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" and not isPedInVehicle(hitElement) then setPlayerTeam ( hitElement, Police) setPlayerSkin( hitElement, 280) giveWeapon ( hitElement, 3, 1, true ) giveWeapon ( hitElement, 22, 148, true ) giveWeapon ( hitElement, 29, 64, true ) giveWeapon ( hitElement, 25, 10, true ) end end addEventHandler( "onMarkerHit", teamMarker , teamMarkerHit ) Any ideas? Thanks
  17. Hey, i know theres a laser addon on the comunity https://community.multitheftauto.com/index.php?p= ... ils&id=652 could be customised to a bind or gui button
  18. Hi, I need to make a script that when a player walks into the marker it notifys him/her that they have joined a certain team. So for i have got this : local teamMarker = createMarker(1552.33, -1605.37, 12.382, 'cylinder', 2.0, 255, 0, 0, 150 ) function teamMarkerHit( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" and not isPedInVehicle(hitElement) then setPlayerTeam ( source, Police ) elseif getElementType( hitElement ) == "vehicle" then end end addEventHandler( "onMarkerHit", teamMarker, teamMarkerHit ) I also need it to make the team everytime the server starts but im not sure how to do that. Thanks
  19. Hi, Im having some trouble with creating a vehicle for a player and putting it them in it when you hit a marker. This is what i got so far local myMarker = createMarker(1552.33, -1605.37, 12.382, 'cylinder', 2.0, 255, 0, 0, 150 ) function MarkerHit( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" then createVehicle ( 432, 1552.33, -1605.37, 12.382 ) elseif getElementType( hitElement ) == "vehicle" then end end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) It doesnt seem to be working :\ Thanks
  20. to be honest, i had the maving gate mod of the comunity, thats why im sorta stuck, as i want to make an independant resource or build it into my main as a gate that rotates. Thats why i asked you :\
×
×
  • Create New...