Jump to content

Dark Dragon

Members
  • Posts

    1,619
  • Joined

  • Last visited

Everything posted by Dark Dragon

  1. getGroundPosition doesn't work outside the streaming range
  2. did you try onClientPlayerWeaponFire? For explosive projectiles you can use onClientExplosion
  3. Technically you can have thousands of vehicles per player, the limit on freeroam is simply a setting to prevent users from abusing this to their advantage or the servers disadvantage. Yes there might be even ways to trick freeroam to allow you to spawn more vehicles than this setting actually allows.
  4. and over all those years your post count almost made it to 20. amazing
  5. there are multiple ways, this one is the easiest in my opinion 1. forward port 22003 (UDP) and 22005 (TCP) (default ports) you can check how to do that here: http://www.portforward.com/ and check if it worked using this: http://portforward.com/help/portcheck.htm ^ - you can skip this step if you use a VPN client such as hamachi 2. go to \MTA San Andreas\server\ and start your MTA Server.exe 3. when the black server box says that it's ready to accept connections type in "start editor" without the quotes, it should tell you if it worked 4. start mta and go to quick connect, type in "localhost" or "127.0.0.1" (doesn't matter which one you take), make sure the port is 22003 5. go to http://whatismyipaddress.com/ and send your friends your ip ^ - skip this step if you use a VPN client, your friends have to use the ip which has been assigned to you there 6. your friends now have to use quick connect with the ip you have given to them. if done correctly you should now be able to edit maps together
  6. Dark Dragon

    HELP ME!!!!

    assuming that you try to run a mta sa server its pretty simple: - get mta http://files.bastage.net/mta/MTASA-1.0.3.exe - install and select server only or both client and server if you'd also like to play - got to \MTA San Andreas\server\ and start your MTA Server.exe
  7. when did i lose my skill to indicate sarcasm in my posts? robhol seemed so serious about this, i had to say that.
  8. I'm afraid sir, but we are not a drive through supermarket
  9. how would that help if he wants to smack them away?
  10. you should use Radio Buttons for that, that's exactly what they are supposed to do (guiCreateRadioButton) use the same parent element for all 3 buttons, this way it will only be possible to select one of them at a time
  11. someone should create a proper edf for that resource anyways, when issue 4628 is fixed it will probably be used by mappers
  12. yes you can, the easiest way to find a certain object element of a map is getElementByID (you can find the id in the .map file) but you could also get all object elements and do something for every object with a specific model using getElementsByType("object") and getElementModel and there are much more ways
  13. the only way i could think of to achieve this is to onClientRender check if peds are in front of the vehicle and if the vehicle has a certain speed, then set the peds velocity and/or kill them. you'll be busy for a while to make this work perfectly
  14. it's amazing how frequently you release maps of this quality. really nice.
  15. yeah (almost) all ped functions work for players and peds, only functions which have no effect on peds still have "player" in their name. but keep in mid that events are still separate for peds and players
  16. really strange, both your and my script work fine for me, at least the client-side stuff
  17. but your script is client side isn't it? if not just use onMarkerHit instead
  18. I'd say the function lists come from the 50p's script editor
  19. the element which hits the marker is probably the truck, not the player function starttruckmission_func () TruckerStartMarker = createMarker (-360.84088134766, 1190.403076171, 18.342208862305, "cylinder", 6, 255, 0, 0, 150 ) TruckerEndeMarker = createMarker (834.25341796875, 866.51782226563, 11.092173576355, "cylinder", 6, 255, 0, 0, 150 ) end addEvent ( "starttruckmission", true ) addEventHandler ( "starttruckmission", getRootElement(), starttruckmission_func ) function MarkerHit( hitElement, matchingDimension ) if hitElement==getPedOccupiedVehicle(getLocalPlayer()) then -- the vehicle of the local player outputChatBox( "in the marker TruckerStartMarker" ) end end addEventHandler( "onClientMarkerHit", TruckerStartMarker, MarkerHit )
  20. it's a known bug, but it's also being worked on, it should soon be fixed. for now you just have to start the race gamemode to test the map.
  21. First force me to write it for you and then remove? I am more than unhappy to read this
  22. Dark Dragon

    The White Rabbit

    Oh my god! He found the hidden page! Toady, hand him his prize! Actually I think theres no real point behind this. It's just for fun. Nice find though!
  23. an exported function is a function you can access from any other resource by using call. It's basically a way to communicate between different resources, the function works just like any other function.
  24. maybe you have dots (.) in your resource name (folder or .zip file) that can cause problems
×
×
  • Create New...