Jump to content

[MTA]revenngeR

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by [MTA]revenngeR

  1. When i try to start i get this message: http://i.imgur.com/K9i89.png Multi Theft Auto has not been installed properly, please reinstall. [Registry Key not present]. I've reinstalled mta several times, and i am still getting this. Can anyone help me?
  2. Sorry for the double post. For example, when i click the register button, how can i stop the dxd from further rendering? addEventHandler("onClientRender",root, function() local screenWidth, screenHeight = guiGetScreenSize() local scaleX = screenWidth/1280 local scaleY = screenHeight/1024 dxDrawRectangle(340*scaleX, 255*scaleY, 630*scaleX, 347*scaleY, tocolor(0,0,0,100), false) dxDrawText("Password:", 439*scaleX, 434*scaleY, 626*scaleX, 472*scaleY, tocolor(255,255,255,255), scaleX, "bankgothic") dxDrawText("Username:", 441*scaleX, 363*scaleY, 628*scaleX, 401*scaleY, tocolor(255,255,255,255), scaleX, "bankgothic") dxDrawText("MTA Party Server", 483*scaleX, 282*scaleY, 915*scaleX, 349*scaleY, tocolor(51,204,255,255), 1.7*scaleX, "pricedown") end )
  3. I just created login/register in guieditor. I have an problem 800x600 resolution http://imageshack.us/photo/my-images/33 ... 51955.png/ When it should look like this: 1280x1024 http://imageshack.us/photo/my-images/68 ... 52042.png/ How can i fix it? The gui is in right place, but not the dxdraw dxdraw code: dxDrawRectangle(340.0,255.0,630.0,347.0,tocolor(0,0,0,100),false) dxDrawText("Password:",439.0,434.0,626.0,472.0,tocolor(255,255,255,255),1.0,"bankgothic","left","top",false,false,false) dxDrawText("Username:",441.0,363.0,628.0,401.0,tocolor(255,255,255,255),1.0,"bankgothic","left","top",false,false,false) dxDrawText("MTA Party Server",483.0,282.0,915.0,349.0,tocolor(51,204,255,255),1.7,"pricedown","left","top",false,false,false) I want to make it compatible for all screen resolutions
  4. Thanks for your reply, but i don't want to use optional arguments in this function.
  5. Well, it doesn't work. It spawns the bot, but it doesnt set the weapon
  6. You should learn https://wiki.multitheftauto.com/wiki/Slo ... tBotWeapon bool setBotWeapon( element theBot, float weapon) element theBot
  7. I don't need help finding weapon id, but i need help with that code. And no, the id is 31
  8. Hi this resource is great and i am a newbie in lua. I want to give the bot m4 call (getResourceFromName("Slothbot"), "spawnBot", 2031.7695,1008.1705,10.5474+10, 10) call (getResourceFromName("Slothbot"), "setBotWeapon", [b]WHAT DO I HAVE TO PUT HERE[/b], 31) What do i have to put there?
  9. I have created ammunation shop, driving school + licenses with checkpoints,edited the design so it's easier to understand, and some cop commands.. It took some time to understand how the gamemode works.
  10. Thanks for the answer. I hope that there will be a function like that in future.. Best Regards, ArmyOfTwo
  11. function RecoilFunc(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) local x, y, z = getPedTargetEnd ( source ) setPedAimTarget (source, x+1,y+5,z+5 ) outputChatBox ( "X " .. x .. " Y " .. y .. " Z ".. z .."" ) end addEventHandler("onClientPlayerWeaponFire", root, RecoilFunc) i tried to create weapon recoil with this, but the setPedAimTarget won't work on local players but it only works for remote players, any ideas?
  12. It's just for learning, i learnt pawn editing roleplay gamemodes why not lua? Anyways that's just for learning.. Thanks for the link! P.S: I won't create a server
  13. I saw 4 servers same roleplay gamemode! Is there an released roleplay resource? Best Regards ArmyOfTwo
  14. wohaha, nice vid waiting for PT 2!!
  15. The server was awful, becouse there was a hacker and we couldn't do anything about it... even we couldn't /votekick. But the script is excellent! When it gets released i am sure that i will use it.
  16. Could you make a guide about tables?
  17. I suggest you to do all those game modes if you have time. If you don't have much time i suggest: 2:A RESCUE GAME(5/5) 3: L4D style(5/4) 4:A SURVIVAL GAME(5/4) That's only my opinion. If you do L4D then i will have this definatly on my server Becouse In the Released gamemode you can sprint out the map to finish and thats not fun anymore.... The zombies should be faster. And maybe a ability to zombies: Spawning with weapons Like Baseball Bat, Knife 9mm etc... I am looking forward to the next update.
  18. Can someone Fix it this to work on MTA 1.0.1?
  19. This is on the client side local vehicle = getPedOccupiedVehicle ( getLocalPlayer() ) triggerServerEvent ( "invisibility", getLocalPlayer(), vehicle ) This on server side function invisibility () local vehicle = getPedOccupiedVehicle ( getLocalPlayer() ) --get your current vehicle local driver = getVehicleOccupant ( vehicle ) setElementAlpha ( vehicle, 0 ) setElementAlpha ( driver, 0 ) end addEvent ( "invisibility", true ) addEventHandler ( "invisibility", getRootElement(), invisibility ) On debugscript it doesnt show anything and on the server console either
  20. /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' ( not as version needed xmll.so ) I need to update glibcxx_3.4.9 can someone help me ? Its for mta server i cant run the server without it.
×
×
  • Create New...