Jump to content

Dark Dragon

Members
  • Posts

    1,619
  • Joined

  • Last visited

Everything posted by Dark Dragon

  1. most messengers don't support the transfer of folders, so simply pack the folders content with winzip. your friend doesn't even have to unpack it, as zips are supported by mta. keep in mind that the zip file name will be the resources name then.
  2. I'd like to encourage you not to edit and remove your questions, but instead post the solution you've found, as someone else might encounter the same problem. Thank you
  3. interior objects -> casino (id 3437)
  4. local obj1 = createObject(1337,0,0,5) setElementAlpha(obj1,0) local obj2 = createObject(1337,-5,5,4.5) setElementAlpha(obj2,0) fadeCamera(true) function move1() moveObject(obj1,30000,5,0,5) moveObject(obj2,30000,10,5,4.5) setTimer(move2,30000,1) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),move1) function move2() moveObject(obj1,30000,0,0,5) moveObject(obj2,30000,-5,5,4.5) setTimer(move1,30000,1) end addEventHandler("onClientPreRender",getRootElement(), function() local cx,cy,cz = getElementPosition(obj1) local tx,ty,tz = getElementPosition(obj2) setCameraMatrix(cx,cy,cz,tx,ty,tz) end ) this would make the camera loop between those 2 states i used before.
  5. Dark Dragon

    snip

    it's not that bad actually. this is more like offering a platform for your scripts to run on, as there don't seem to be much instructions.
  6. sounds interesting, but will be a load of work, also prepare to encounter problems (shell physics for example) edit: oh, also this:
  7. sure it is, but you will need to re organize stuff within those gamemodes, for example when a gamemode does something for every player.
  8. i must have been drunk when i wrote that, lol. bears in bottles would be neat though.
  9. the default key to enter as passenger is G, you can reassign it in settings -> binds. locking cars is a script function https://wiki.multitheftauto.com/wiki/SetVehicleLocked you might find a resource to lock and unlock personal vehicles on the community center https://community.multitheftauto.com/index.html?p=resources
  10. this makes me want to cry...
  11. Dark Dragon

    blow

    you might want to get someguy's vehicle to blow, not 'source'
  12. 1.0.4 introduces an auto updater, you'll be notified when there's a new version from now on, you can download and start the installer with a single click then. sorry but i'm still unable to understand your other questions/requests, try to find someone who can translate what you're trying to say properly
  13. Dark Dragon

    Cant Launch!

    it's a proble mwith your gta then. reinstalling might fix it
  14. 1.0.4 is full of win (and oranges) you need it!
  15. A: lady ga ga ga Q: -knock knock; -who's there?;
  16. settle down mate, a gentleman must remain polite and gentle no matter what
  17. the best way i can think off would be the possibility to start resources (at least the client side scripts) for specific players only. but as eai said, i'm not even satisfied with this idea myself.
  18. actually it supports lua scripts.
  19. -- first draw the stuff which is visible at all times dxDrawRectangle(sWidth-206,sHeight-43,lineLength2,14.0,tocolor(200,200,200,200),false) -- Armor active bar dxDrawRectangle(sWidth-206,sHeight-23,114.0,14.0,tocolor(50,0,0,150),false) -- Health inactive bar dxDrawRectangle(sWidth-206,sHeight-43,114.0,14.0,tocolor(50,50,50,150),false) -- Armor inactive bar dxDrawRectangle(sWidth-206,sHeight-23,lineLength1,14.0,tocolor(175,0,0,200),false) --Health active bar dxDrawRectangle(sWidth-84,sHeight-48,78.0,33.0,tocolor(0,0,0,150),false) -- GTA Time DX Rectangle dxDrawText(tostring (money),sWidth-200,sHeight-78,sWidth-5,sHeight-54,tocolor(0,0,0,200),1.0,"pricedown","right","top",false,false,false) -- Money DX text (shadow) dxDrawText(tostring (money),sWidth-202,sHeight-81,sWidth-7,sHeight-57,tocolor(0,100,0,220),1.0,"pricedown","right","top",false,false,false) -- Money DX text dxDrawText(tostring (time),sWidth-81,sHeight-46,sWidth-10,sHeight-16,tocolor(250,250,250,200),1.0,"diploma","center","top",false,false,false) -- GTA Time DX text -- now decide if the optional stuff should be drawn if noreloadweapons [getPedWeapon(getLocalPlayer())] then -- draw nothing elseif meleespecialweapons [getPedWeapon(getLocalPlayer())] then dxDrawText(showammo2,646.0,731.0,694.0,766.0,tocolor(0,255,255,175),1.0,"bankgothic","right","top",false,false,false) --Ammo (for shotgun, grenades, etc), will be later. else dxDrawText(showammo2,646.0,731.0,694.0,766.0,tocolor(0,255,255,175),1.0,"bankgothic","right","top",false,false,false) --Ammo (for shotgun, grenades, etc), will be later. dxDrawText(tostring (showammo2),sWidth-340,sHeight-37,sWidth-292,sHeight-2,tocolor(0,255,255,175),1.0,"bankgothic","left","top",false,false,false) --Total Ammo dxDrawText("|",sWidth-359,sHeight-37,sWidth-347,sHeight-6,tocolor(255,200,0,200),1.0,"bankgothic","left","top",false,false,false) --Separator dxDrawText(tostring (showammo1),sWidth-413,sHeight-37,sWidth-365,sHeight-2,tocolor(0,255,255,175),1.0,"bankgothic","right","top",false,false,false) --Ammo in clip end
  20. remove the 'end' in line 57 but you can't use gui functions on dx draws. they are not elements. either you draw it or you don't, there is no "setVisible" function. to make it work store the tables outside of any function and check the player weapon every frame.
  21. you need to log in with your community account first.
  22. maybe try to reinstall your network drivers or update them
×
×
  • Create New...