Jump to content

Mr.Hankey

Members
  • Posts

    625
  • Joined

  • Last visited

Everything posted by Mr.Hankey

  1. http://development.mtasa.com/index.php?title=CreatePed Wohooo the function is now client AND server sided so if im not terribly wrong that means that peds are synced!!!!
  2. dont you need to add the resource to a acl group that is allowed to use xml functions?!
  3. dont you need to add the resource to a acl group that is allowed to use xml functions?!
  4. Walls are as well objects as the 8 track is one so yes you will be able to see the 8 track =)
  5. Walls are as well objects as the 8 track is one so yes you will be able to see the 8 track =)
  6. I have another Error for you =) A friend of mine uses vista 64bit and got this error message Uhm because the error message was in german i had to translate it hopfully it has still the same meaning^^ P.S. Very nice work i was so suprised when i read the news^^. I never thought you would release a fix that fast
  7. I have another Error for you =) A friend of mine uses vista 64bit and got this error message Uhm because the error message was in german i had to translate it hopfully it has still the same meaning^^ P.S. Very nice work i was so suprised when i read the news^^. I never thought you would release a fix that fast
  8. ah ok i just had an idea because you said that it only appears when somebody dies and than respawns. I would suggest using this: function player_Wasted () setTimer( spawn, 500, 1, source )endaddEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) instead of this: function player_Wasted () local x = randInt ( startX - 15, startX + 15 ) local y = randInt ( startY - 15, startY - 5 ) setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 )endaddEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) because the coordinates you used in setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) are different from the starting coordinates and the local x and local y values above this line are never used.
  9. ah ok i just had an idea because you said that it only appears when somebody dies and than respawns. I would suggest using this: function player_Wasted () setTimer( spawn, 500, 1, source ) end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) instead of this: function player_Wasted () local x = randInt ( startX - 15, startX + 15 ) local y = randInt ( startY - 15, startY - 5 ) setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) because the coordinates you used in setTimer( spawnPlayer, 500, 1, source, 1485.5, 1168.5, 17 ) are different from the starting coordinates and the local x and local y values above this line are never used.
  10. well if you would explain what exactly the bug is maybe some people could help you but a "spawnbug" can have thousands of reasons...
  11. well if you would explain what exactly the bug is maybe some people could help you but a "spawnbug" can have thousands of reasons...
  12. Hey look what i just found http://development.mtasa.com/index.php? ... teDuration With dp3 synced time will finally be possible =)
  13. Hey look what i just found http://development.mtasa.com/index.php? ... teDuration With dp3 synced time will finally be possible =)
  14. uhm?! now im totally confused... at first i thouht i read somewhere that the source code of race was lost.. Then when i said that in the comments on the ASE news at the main page eAi said it isnt lost but now you say it is?! So is the whole code really lost or is it just like kevwuk said earlier that some files of the race core where overwritten by writing the new dm core files?
  15. uhm?! now im totally confused... at first i thouht i read somewhere that the source code of race was lost.. Then when i said that in the comments on the ASE news at the main page eAi said it isnt lost but now you say it is?! So is the whole code really lost or is it just like kevwuk said earlier that some files of the race core where overwritten by writing the new dm core files?
  16. remove "" from the xml file
  17. remove "" from the xml file
  18. Agreed. But i'm still waiting for an editor that moves objects by tracking the x and y movement of the mouse =)
  19. Agreed. But i'm still waiting for an editor that moves objects by tracking the x and y movement of the mouse =)
  20. hm... i already thought about that too but i didn't tested it without the cursor showing
  21. Im actually trying the same with good results. I already managed to move the camera up and down over 180° along the y mouse axis and about 360° to the right and left using the mouse x axis. I wrote a little "setCameraRotation" function on my own that calculates a point on the surface of a sphere around the current camera position using 2 angles. Here's the code: 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 Now i only got problems with saving the current rotation when mouse1 is released so i can start at the same camera look when i press mouse1 again but when i tried to add the rotation to the last rotation the camera moves totally weird... Btw i used the onClientCursorMove Event to controle the camera. It's much easier =)
  22. in your Rockstar Games\GTA San Andreas\MTA Folder theres a file called coreconfig.xml and there you can manually write new favourite servers using this syntax: <favourite_server name="LocalHost" host="127.0.0.1" port="22005"/> in the tag
  23. Huh?! For me those destroyElement bugs are always because i test scripts on my local machine but on normal servers everything should work fine with server-side created objects...
  24. i guess he means the square cross that appears when you're aming with a rocket launcher =)
×
×
  • Create New...