Jump to content

Mr.Hankey

Members
  • Posts

    625
  • Joined

  • Last visited

Everything posted by Mr.Hankey

  1. what about a clientside script using the onClientRender event like this? function set () if flashing == false or not flashing then flashing == true else flashing == false end end addCommandHandler ("setflash", set) function flash () if flashing == true then if getTickCount () - previousTickCount >= 250 or not previousTickCount then previousTickCount = getTickCount () if ( getVehicleOverrideLights ( playerVehicle ) ~= 2 ) then setVehicleOverrideLights ( playerVehicle, 2 ) else setVehicleOverrideLights ( playerVehicle, 1 ) end end end end addEventHandler ("onClientRender", getLocalPlayer(), flash) i could not test the script yet so there might be typing mistakes and i hope turning on/off the light 4 times per second is fast enough
  2. it really doesnt matter if you use "first" "second", "1" "2" or "bluecheetah" and "redadmiral" string is string =)
  3. no dp2.3 doesnt use the registry strings Username and Serial at all
  4. for individuality just add an id attribute to the car's node so you can get the vehicle element directly by using getElementID e.g: <vehicle id="first" model="372" posX="0" posY="0" posZ="10" /> <vehicle id="2" model="372" posX="0" posY="3" posZ="10" />
  5. a few month ago i made a kind of spectation script which contained a free-look mode that was using a forumla that might help you function setCameraRotation (rotx, rotz) local x, y, z = getCameraPosition () local x2 = math.sin (math.rad(rotx))*math.cos (math.rad(rotz)) local y2 = math.sin (math.rad(rotx))*math.sin (math.rad(rotz)) local z2 = math.cos (math.rad(rotx)) local result = setCameraLookAt (x+x2, y+y2, z+z2) --outputChatBox (tostring (x+x2*3).." "..tostring (y+y2*3).." "..tostring(z+z2*3)) --outputChatBox (tostring (rotx).." "..tostring (rotz)) return result end
  6. oh right i forgot the x+ and y+ before^^
  7. you should be able to do that using "t" and you can look up your controls via the mta main menu > settings > controls
  8. rot = 76 x = 0 y = 0 distance = 4 newX = math.cos (math.rad(rot))*distance newY = math.sin (math.rad(rot))*distance Additionally you should read a bit on wikipedia about Trigonometry.
  9. try downloading the coreconfig.xml from here: http://www.mtasa.com/files/coreconfig.xml and then place it in the directory where it normally should be (usually c:\Program Files\Rockstar Games\GTA San Andreas\MTA)
  10. you forgot to the 5th point IJs told you to do...
  11. I guess you already did but try reinstalling dp2.3 and look if the coreconfig.xml is there because every normal mtasa dm installation should create one in this folder.
  12. you can make up a map file with cars pretty easy just create a new document, rename it to .map and add vehicles using the following syntax (look here for a complete documentation): <vehicle model="" posX="" posY="" posZ="" rotX="" rotY="" rotZ="" color="" upgrades="" paintjob="" plate=""/> note that every attrubute after posZ is optional The following example would create an Alpha at the coordinates x=15 y=43 z=20: <vehicle model="602" posX="15" posY="43" posZ="20"/> Now everything you need to do is create a meta.xml which can be easily done using this online meta.xml generator and place the created meta.xml + the mapfile that you specified in the meta.xml in a new folder or a zip file so you have a new map resource.
  13. You might want to read this: http://development.mtasa.com/index.php? ... Custom_GUI as in the example stated you can create the help tab inside a script of your resource so you dont need a help.xml file at all
  14. yes. dp2.2 is a client-only fix
  15. what? There are nearly no differences between 2.2 and 2.1! Installing dp2.1 simply doesnt work anymore thats why dp2.2 was released. Edit: Yes the servers are the same.
  16. i dont get why you want to use dp2.1 again? dp2.2 should be fine
  17. Strange that samp wasn't taken down because keyman made a well going business out of it... Ads on the site + "Donations" (in fact they just payed) for offical server ranking
  18. Any Moderator can feel free to lock this topic
  19. No, some people can still edit the wiki you just need to have a serial in your mtabeta.com profile
  20. The Invalid Serial output in the chatbox is just there to inform you that a user has joined that has a non-valid serial. If the screen just stays black you can simply type /votemode in the chatbox and select a gamemode/map you want to play. If you just want to change the map use /votemap instead.
  21. MTA DM DP2.2 AVAILABLE! DOWNLOAD IF YOU HAVE SERIAL PROBLEMS!!! Original post:
  22. 1: Hankey van Poo (I'm not going to state my real name here ) 2: 16 3: I sent you a pm 4: Coder (Have a look here for a list of resources i published) 5: Not really much; I made some attempts to make a simple auto-pilot for cars in mta but i lost interest in it... 6: It's the first project announced here that sounds interesting to me (Not one of these boring "RolePlay Scripting Projects") and i especially like the idea of an A.I. that is able to learn from surrounding events though im not sure how you plan to realize that =) Edit: I'll stick with mta just ignore this application...
×
×
  • Create New...