Jump to content

MetaGamer

Members
  • Posts

    233
  • Joined

  • Last visited

Everything posted by MetaGamer

  1. This is the crash code. Version = 1.1.1-release-3293.0.000 Time = Sun Nov 13 03:17:50 2011 Module = C:\MTA SA\mta\cgui.dll Code = 0xC0000005 Offset = 0x00049F23 EAX=00000000 EBX=00000046 ECX=00000000 EDX=054F107C ESI=042E9B80 EDI=054F107E EBP=00000000 ESP=0022DC04 EIP=03EB9F23 FLG=00210246 CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000 Edit: Has been fixed by restarting the system!
  2. I am also not sure. Maybe someone else knows it. EDIT: Maybe there is a math problem. I can't find it.
  3. thank you for taking your time and one last question. Is there any alternative for setControlState?
  4. Is it be on onClientRender or onClinetPreRender
  5. In this code local posX , posY , posZ = getElementPosition ( player ) local posX2 , posY2 , posZ2 = getElementPosition ( curTarget ) local rotation = math.deg ( math.atan2 ( posX2 - posX , posY2 - posY ) ) % 360 setElementRotation ( player , 0 , 0 , 360 - rotation ) setCameraTarget ( player ) local distance = getDistanceBetweenPoints2D(posX2, posY2, posX, posY) if distance > 22 then setElementData(player, "arrest", false) setElementData(player, "arrester", "") showCursor(false) toggleAllControls(true) removeEventHandler ( "onClientRender" , getRootElement() , setPlayerFollowPlayer ) elseif distance > 12 then setControlState("sprint", true) setControlState("walk", false) setControlState("forwards", true) elseif distance > 6 then setControlState("sprint", false) setControlState("walk", false) setControlState("forwards", true) elseif distance > 1.5 then setControlState("sprint", false) setControlState("walk", true) setControlState("forwards", true) elseif distance < 1.5 then setControlState("sprint", false) setControlState("walk", false) setControlState("forwards", false) end The player is running backwards not forward. How can I make him run forward instead of backwards?
  6. Thank you. If it didn't work, then I will post the problem here.
  7. Not possible with dxscoreboard also?
  8. Well, I am in a situation where I have to make a team inside a team. For example, Officer inside of Cop. How to do that?
  9. I have saw your resource and it's great. But the syncing is not good enough to implement it on my bus system.
  10. I have tested in serverside and i works perfectly.
  11. Is it? I don't know if it is Clientside or Serverside. There is no documentation on it. Does all modules are serverside?
  12. It did not fixed. Still the same problem but this time it's only on /debugscript 3, not in serverlog
  13. ooooh. Thanks i will try it.
  14. I am getting this error attempt to call global 'mysql_connect' (a nil value) client.lua function GameModeInit() con = mysql_connect("204.45.248.18", "", "", "") if(con) then outputChatBox("Connection Success!") else outputChatBox("Connection Failed!") end end addEventHandler("onClientResourceStart", getRootElement(), GameModeInit) mtaserver.config <!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module> parameter(s). Optional parameter. --> <module src="mta_mysql.dll" /> I have put mta_mysql.dll into the modules folder I have put libmysql.dll in the server folder I also get MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" Might might be the problem?
  15. if waypoints is scriptable then tell me how. I need to add it to my server for bus system.
  16. Why that part of the site is down?
  17. http://bugs.mtasa.com/view.php?id=4571 viewtopic.php?p=375236#p375236 A builtin function would be nice, but for now you can try this: viewtopic.php?p=355104#p355104 MTA already has them? You can already put resources into zip files Already exists, type /help in console /connect host port nick pass https://wiki.multitheftauto.com/wiki/SetWaterLevel viewtopic.php?p=376182#p376182 https://wiki.multitheftauto.com/wiki/SetElementAlpha Scriptable, cancel the damage event and use setElementHealth to modify the damage. https://wiki.multitheftauto.com/wiki/Set ... tagShowing You can't replace animation. You can only add. Fade Element with timer is laggy and sometimes out of sync. And for the gunshot sound, you can't replace the old gta sa gun shot sound.
  18. You can't replace animation. You can only add new one.
  19. Ability to replace animation Custom gunshot sound Remove old gta san objects [Like in sa-mp] All Skins Compressed Resource Ability to /connect [iP] in game Custom Water Level Ped Record System Improve Ped Sync Waypoint System (For e.j. setElementWaypoint(element, x, y, z) || getElementWaypoint(element)) [server Side] Fade Element (For e.j setElementFade(element, fade) || getElementFade(element)) [server Side] Max Health/Armour System (For e.j. setElementMaxHealth(element, health) || getElementMaxHealth(element)) [server Side] Show Name Tags (For e.j ShowNameTags(enabled, mode) [Modes: 0 = off, 1 = names, 2 = health/armour, 3 = all]) [server Side]
×
×
  • Create New...