Jump to content

FuriouZ

Members
  • Posts

    459
  • Joined

  • Last visited

Everything posted by FuriouZ

  1. FuriouZ

    Disconnect

    I tryed both of them but still nothing Server: --Quit Button function quitButton ( playerSource, commandName ) if ( playerSource ) then executeCommandHandler ( "disconnect", playerSource ) end end addEvent( "quitButton", true ) addEventHandler( "quitButton", getRootElement(), quitButton ) A part from client: addEventHandler("onClientGUIClick", root, function() if source == GUIEditor.button[1] then triggerServerEvent ( "quitButton", getLocalPlayer() ) elseif source == GUIEditor.button[3] then triggerServerEvent ( "commandButton", getLocalPlayer() ) end end ) And debug (tryed restarting,pressing quit button,but no errors)
  2. FuriouZ

    Disconnect

    Doesn't work,no errors in debug .
  3. I downloaded original resource from community,then deleted this --[[ Green Stuff ]] and then if i start it then comes that much errors ..
  4. So much errors ? What you excatly need ? this ? --[[ @title HeroInventory @author Malicious Hero. - [url=https://twitter.com/MaliciousHero]https://twitter.com/MaliciousHero[/url] @copyright 2013 @description HeroInventory is a new way to expand a roleplay server's features. This resource allows a server to not only archive items; but organize them appropriately! Adding items, and groups are very simple. --]] -------------------------------------------------------------------------------------------------------- itemArchive = -- {picture, name, group_name, object-item-id, z-adjustment} { {"images/items/Hat.png", "Hat", "Clothes", 1271, 0.8}, -- ITEM ID: 1 - This is an example. (Creates a box since there isn't a hat item) {"images/items/Book.png", "Book", "Tools", 2824, 0} -- ITEM ID: 2 }
  5. There is problem,when i additem 2 (or another one) and if i use it ,then it hides image but i can still use it. Fix it please
  6. FuriouZ

    Disconnect

    Doesn't work --Quit Button function quitButton ( playerSource, commandName ) if ( playerSource ) executeCommandHandler ( "quit", playerSource ) end end addEvent( "quitButton", true ) addEventHandler( "quitButton", getRootElement(), quitButton )
  7. FuriouZ

    Disconnect

    Hey, i have a question what i doesn't find from wiki. How to sctipt disconnceting from server,what functions i need ? Like i created a gui and i need that if i click to 'quit' button,then i disconnet from server. What i have to paste here ? Serverside: function quitButton ( ) [[HERE]] end addEvent( "quitButton", true ) addEventHandler( "quitButton", getRootElement(), quitButton )
  8. You gonna release it (Custom Vehicle SFX) for free or not ? PS: I saw same music system in Need For Speed : San Andreas server, you made it to them ?
  9. This is vehicle handbrake.
  10. Hey all ! I have problem 'failed to call' Here is one code: if exports['EGvehicles']:isElementFrozen(vehicle) then dxDrawImage(ax,ay,32,37,"images/hud/park.png") ax = ax - 34 end And where i need to call function(player, cmd) local vehicle = getPedOccupiedVehicle(player) if vehicle and getVehicleController(vehicle) == player then if isElementFrozen(vehicle) then setElementData(vehicle, "vehicle.handbrake", 0) setElementFrozen(vehicle, false) else setElementData(vehicle, "vehicle.handbrake", 1) setElementFrozen(vehicle, true) end end end ) And debug: What is problem ?
  11. Really,please release this script ! so awesome !
  12. Hey really cool speedometer inspired from Grid 2 ? and Need For Speed World powerups So cool You have more than two? i mean juggernaut etc ?
  13. FuriouZ

    Help

    Thank you !
  14. FuriouZ

    Help

    Hey,i need help with pickup, i need that i can't pickup arrow ,that means if i hit pickup then it doesn't hide away createPickup ( entX, entY, entZ, 3, 1318 ) Thanks
  15. Hey i have really good idea what would be in Map Editor In offical MTA map editor would be Create Water function,that i don't need to script it, just mark some points and height and then it automally creates a water I really hope that this feature is in next Map Editor, because it is really helpful,easy and fast and i really need it, because i don't understand at all how to create water lol
  16. Thank you so much Solidsnake14 ! I got it working now Thanks to Mr.Pres[T]ege too also.
  17. No.Like this: Total i have 4 images. First image is "BG1" then after 5sec it changes to "BG2" then "BG3" then "BG4" and then all images are showed it starts from first again like BG1 BG2... Problem is that last image stops and staying there,but i need that if all 4 images are showed then starts again from first image
  18. Thanks,but if images images end, then it doesn't start from first again How i can fix it ? if backroundScreens == true then local BGimages = guiCreateStaticImage ( 0, 0, 1920, 1200, "img/BG1.jpg", true ) setTimer ( guiStaticImageLoadImage, 5000, 1, BGimages, "img/BG2.jpg" ) --guiCreateStaticImage( 0, 0, 1920, 1200, "img/BG1.jpg", false ) end
  19. Hey ! I have an question, that how i can make that every 10 sec my loginpanel changes backround ? Hope that you guys understand me because i don't have very good english Anyway one shot is here :
  20. Hey! This is just AMAZING ! I don't know why, but this : http://i.imgur.com/9oJLuAk.jpg picture looks like one place in GTA IV ! Keep up good work !
  21. Yes,I can, but i like to create maps to MTA ,so i decided to create Farcry 3 style to mta.
  22. I'm not 100% sure,that i release it,because i think to learn lua more and create fc3 gamemode,but maybe i release I never haven't done so big map Some more pic:
×
×
  • Create New...