Jump to content

Gamesnert

MTA Contributors
  • Posts

    2,035
  • Joined

  • Last visited

Everything posted by Gamesnert

  1. On MTA 1.0? mtaserver.conf, set verifyserials to 0.
  2. Could you please ask in a normal way? I doubt anyone will help you like this, especially since robhol already mentioned this. Oh and rephrase your question, I don't even understand WHAT you need...
  3. Besides that, wrong section. (correct one)
  4. Portforwarding your HTTP port might be a good idea. Otherwise, blame your internet.
  5. Client side scripts?
  6. You want a ped in a vehicle to chase you? You don't need a pedTarget function, you do need some freak ass calculations though. - You need to see where objects are, so you don't collide with em - You need to see where the player is, and at what angle the vehicle should drive - You need to see the rotation of the car, to make sure you're correcting him correctly and if he didn't already drive past you - You need some other stuff I can tell ya this will not be easy. Although there was a snippet for scripted ped driving on the scripting board somewhere... Try to find it, and see what you can use from it.
  7. It's up to the admins to ban/unban you. It's not up to us, we can't do much for you. You should see if you can get in contact with one of the admins or the server owner and see if that helps. Note though that it would be very useful if you'd have some kind of proof that you didn't cheat, although it's hard to get. Also, ask the admin why he thinks you cheated. If it's incorrect, try discussing with the admin further until he decides what to do. <-- Should be the basic steps, although you can already answer some of the questions Just try to get in contact and start discussing. Don't be disappointed though if he still thinks you cheated, and decides not to unban you. It's his choice. Not anyone else's. EDIT: Maybe a useful hint for next time: When an admin gives you a weapon, it's shown in chat. Try to make a screenshot of it, so you always have some proof that it was due to an admin, not due to you.
  8. You just enter the object ID which you want to place. For instance, I want to replace 1337 (garbage bin) with a much 1337er garbage bin, I'd need to use 1337. Or did you mean something else?
  9. Quite a lot are, in fact. I've also been very confused in the first... 2 weeks? Nah, more like 2 months. You'll get used to it.
  10. ... Wut? What version of MTA is that? Not MTA SA I guess? I've never seen a splash screen like that...
  11. Rotations are involved. Sin, cos and maybe a few others might be needed to that that into account.
  12. How many types of traffic lights are there in SA? If it's only one, then your method should make it a piece of pie with the help of my good 'ol buddy Trigonometry. Otherwise, it's a smaller piece of pie. And I want moar pie!
  13. Paste it in Microsoft Office Word. Then you should print it out on A4 format. Huge 40+ Pt font. Next up you should position it in the top of the shredder. Drop it low enough, and you might see some action. If you don't have a shredder, a fire or a fryer would also do OK.
  14. Mistake on my part too I guess. It should be healingPlayer. Expecting no more catastrophe from that, therefore moving on to your next piece of script. ... function truckJobStart ( thePlayer ) playerUse = getClientName(source) missionon = playerUse outputChatBox("You've started a delivery mission. Get to the truck marker on the map to finnish and get paid.", playerUse) truckJobBlip = createBlip ( 857.07098388672, -1292.5166015625, 13.617831230164, 51, 2, 255, 0, 0, 255, 0 , getRootElement() ) end ... This is the only blip I found, and I understand why it shows up for everyone. getRootElement() means parent of all elements. visibleTo is set to the root element. In this case, that means that all players will get to see it. How to fix this? Replace getRootElement() with a player element. I'd say you need to use thePlayer. By the way, is it just me, or doesn't truckJobStart make any sense at all? Let's sum up some things: - You're making the function, with thePlayer as first argument. - Here you're trying to get a player name out of a marker... Ehm... You need to give a player element (thePlayer) not a marker... (source) (more info on this event HERE) - The outputChatBox function needs a player element, not the player name. (although it's actually the "marker name" right now, which doesn't exist and therefor is false ) - Seeing that you use getClientName, I assume you're still on DP2.x. createBlip does NOT have the ordering parameter in DP2, only in 1.0. - I might have missed something...
  15. I must say that the task should be incredibly easier now with the new Map Editor, but not easy enough for me! D: I might be able to do about 2 traffic lights by next year though.
  16. He only talked about making them blank, which isn't really what we want I guess. However, when they're blank, I think you can use Corona's (createMarker) to simulate the traffic lights. Will be a bit weird when the light has collapsed, but might be a temp solution?
  17. if ( getVehicleName(getPlayerOccupiedVehicle ( thePlayer )) == "Ambulance" ) then -- This checks for the name, instead of the element if ( getPlayerOccupiedVehicle ( playerToheal ) == getPlayerOccupiedVehicle ( thePlayer ) ) then -- Instead of checking if they're both in an Ambulance, why not checking if they're in the SAME ambulance? if ( getElementHealth(healingPlayer) < 100 ) then -- See lord's post I think this should fix that particular part. Didn't test it though. You can remove the things after the -- by the way, they're just there to explain some stuff.
  18. getPlayerOccupiedVehicle @ wiki
  19. I'm wondering... Do you know what source is? It's only to be used in the case of events, not commands... Use: theVehicle = getPlayerOccupiedVehicle ( thePlayer ) Do NOT use source. It can only get you to trouble when using it anywhere but in events.
  20. As he asked: What didn't you understand from his post? Nobody can help you if you can't answer questions.
  21. Gamesnert

    Help

    Great... Did I waste my valuable minutes on a double post?
  22. 1. Get a nightly build and install, advisable to not install it right over DP2.x . (Take the one with the highest number!) 2. Get the data files (only the one saying data files) and follow the readme inside 3. Get the resources (again, highest number) 4. Unpack the contents of Required and Editor folders into /server/mods/deathmatch/resources (optionally also unpack contents of Optional) 5. Hop in-game 6. Click Map editor It might be that your client crashes after a short period of time. For that, there's a simple trick: 5. Make sure you also installed the server attribute 6. Go to /server 7. Open MTA Server.exe 8. When it's done, type "start editor" (without quotes) 9. Start MTA again 10. Go to Browse Games and then to LAN tab, it should show "Default MTA server". This should be your localhost server, with the map editor In case you don't see it in the LAN list: 8. Look in the MTA server window what it says near Server port. You'll need this for a quick connect. 9. Type "start editor" (without quotes) 10. Start MTA again 11. Go to Quick connect. In IP field, type "127.0.0.1" (without quotes) and in port type the port you found at 8. This should get you going. Any more problems?
  23. I guess people should be reminded of what Talidan said before in this topic: This means that it's just very hard to get all (or some) of the traffic lights. We need to wait for someone to find a way to get them, before there should be discussed about bandwidth, synch etc.
  24. Now I see! function pedLoad () APed = createPed ( 137, 2334.5, 2160.5, 10.83 ) setTimer(setPedRotation,5000,1,APed,180 ) setTimer(setPedAnimation,5000,1,APed,"ped","WALK_drunk",-1,true,true,true ) end addEventHandler ( "onResourceStart", getRootElement(), pedLoad ) Stuff don't seem to work right after a ped is created, so you should delay that stuff with timers. Not sure if I did it entirely correctly though.
  25. You sure you're looking at the right ped?
×
×
  • Create New...