Jump to content

[MTA]revenngeR

Members
  • Content Count

    34
  • Joined

  • Last visited

Community Reputation

0 Neutral

About [MTA]revenngeR

  • Rank
    Rat
  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*scal
  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,2
  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 http://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
×
×
  • Create New...