Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. Here's a MTADiag: http://pastebin.com/uKLxHH9V EDIT: for the Chipset drivers, I tried installing them and for some reason, it keeps telling me to uninstall the current ones I have when it finished restarting my computer
  2. What type of VPS host are you going to use? DomVPS?
  3. ok, nvm about that... I was thinking about this because I don't really want to go on the site and download it from there...
  4. I'm not sure about starting a server on 100 slots but ok, I'm going to need some basic info: What type of server are you creating?
  5. When I join a server the program kinda freezes when I first spawn... after a little 5-15 seconds the screen unfreeze then it shows network problem and the text goes away, it happens a few time then somehow turns back to running smooth. MTADiag: http://pastebin.com/JtbbzAuA
  6. Does it matter? ya, the server automatically adds resources to a log file and start the resources that defined in the mtaserver.config if you add a resource while the server is loaded/started then it won't add the resource in the log file... so this is why you have to type in "upgrade" or "refresh" into the server, so the server knows that there's a new resource.
  7. Type in the: 1. Console "refresh" or "upgrade" 2. Server/In-game "/refresh" or "/upgrade" Farmjob.lua local myMarker = createMarker(-30.60000038147, 164.89999389648, 1.2000000476837, 'cylinder', 2.0, 255, 0, 0, 150) function MarkerHit( hitElement, matchingDimension ) -- define MarkerHit function for the handler local elementType = getElementType( hitElement ) -- get the hit element's type outputChatBox( elementType.."Welcome to farm job ", getRootElement(), 255, 255, 0 ) -- attach the element's type with the text, and output it end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) -- attach onMarkerHit event to MarkerH guiwindow.lua vehicles = { "combine harvester", } function setupvehicleSelectionm() spawnScreenMenu = guiCreateWindow ( 0.15, 0.33, 0.7, 0.34, "select a skin", true ) spawnScreenOKButton = guiCreateButton ( 0.4, 0.85, 0.20, 0.15, "OK", true, spawnScreenMenu ) guiWindowSetMovable ( spawnScreenMenu, false ) guiWindowSetSizable ( spawnScreenMenu, false ) spawnScreenGridList = guiCreateGridList ( 0, 0.1, 1, 0.9, true, spawnScreenMenu ) guiGridListSetSelectionMode ( spawnScreenGridList, 1 ) guiGridListAddColumn ( spawnScreenGridList, "vehicles", 0.3 ) local row = guiGridListAddRow ( spawnScreenGridList ) guiGridListSetItemText ( spawnScreenGridList, row, 1, vehicleName, false, false ) end addEventHandler("onClientResourceStart",resourceRoot,setupvehicleSelection)
  8. Jaysds1

    Car Buy Panel

    I don't think there's any, try searching in the MTA Community: https://community.multitheftauto.com/
  9. A: I think it's a rat Q: Who has some KFC Fried Chicken for me?
  10. try this: Client-side elseif (source == GUIEditor_Button[5]) then money = getPlayerMoney (source) if (money >= 1000000) then outputChatBox ("You bought Dual Uzi Skill For: $1000000",225,225,0) takePlayerMoney(1000000) triggerServerEvent ("setPedStat75",getLocalPlayer()) -- you don't have to put the function as it is on the server-side and the event is attached to the function server side else guiSetVisible(GUIEditor_Window[1],false) guiSetVisible(GUIEditor_Window[2],true) end elseif (source == GUIEditor_Button[4]) then money = getPlayerMoney (source) if (money >= 500000) then outputChatBox ("You bought Dual Pistol Skill For: $500000",225,225,0) takePlayerMoney(500000) triggerServerEvent ("setPedStat69",getLocalPlayer()) else guiSetVisible(GUIEditor_Window[1],false) guiSetVisible(GUIEditor_Window[2],true) end elseif (source == GUIEditor_Button[6]) then money = getPlayerMoney (source) if (money >= 750000) then outputChatBox ("You bought Dual Sawn Off Skill For: $750000",225,225,0) takePlayerMoney(750000) triggerServerEvent ("setPedStat73",getLocalPlayer()) else guiSetVisible(GUIEditor_Window[1],false) guiSetVisible(GUIEditor_Window[2],true) end elseif (source == button) then guiSetVisible(GUIEditor_Window[2],false) guiSetVisible(GUIEditor_Window[1],true) elseif (source == button) then guiSetVisible(GUIEditor_Window[2],false) guiSetVisible(GUIEditor_Window[1],true) end end Server-side function setPedStat75 () setPedStat (client,75,999,true) end addEvent("setPedStat75",true) addEventHandler("seTPedStat75",getRootElement(),setPedStat75) function setPedStat73 () setPedStat (client,73,999,true) end addEvent("setPedStat73",true) addEventHandler("setPedStat73",getRootElement(),setPedStat73) function setPedStat69 () setPedStat (source,69,999,true) end addEvent("setPedStat69",true) addEventHandler("setPedStat69",getRootElement(),setPedStat69)
  11. no problem, just doing my job:lol:
  12. try this: marker1 = createMarker (295.239,-37.58,1000.515,"cylinder",1.5,0,0,225,100) marker2 = createMarker (295.48,-80.38,1000.51,"cylinder",1.5,0,0,225,100) marker3 = createMarker (290.28,-109.35,1000.51,"cylinder",1.5,0,0,225,100) marker4 = createMarker (211.25,1858.46,12.10,"arrow",1.5,0,0,225,100) pedammusf = createPed (179,290.187,-111.514,1001.51) setElementInterior(pedammusf,6) setPedFrozen(pedammusf,true) pedammulv = createPed (179,295.47,-82.53,1001.51) setElementInterior (pedammulv,4) setElementInterior (marker2,4) setElementInterior (marker1,1) setElementInterior (marker3,6) function showGUI (jugador) if (source == marker1) then triggerClientEvent (jugador,"showGUI",getRootElement(),jugador) elseif (source == marker2) then triggerClientEvent (jugador,"showGUI",getRootElement(),jugador) elseif (source == marker3) then triggerClientEvent (jugador,"showGUI",getRootElement(),jugador) elseif (source == marker4) then triggerClientEvent (jugador,"showGUI",getRootElement(),jugador) end end addEventHandler ("onMarkerHit",getRootElement(),showGUI,true) function give10 () giveWeapon (source,10,1,true) end addEvent("give10",true) addEventHandler("give10",getRootElement(),give10) function give11 () giveWeapon (source,11,1,true) end addEvent("give11",true) addEventHandler("give11",getRootElement(),give11) function givedeagle () giveWeapon (source,12,1,true) end addEvent("give12",true) addEventHandler("give12",getRootElement(),give12) function give44 () setWeaponProperty (source,44,1,true) end addEvent("give44",true) addEventHandler("give44",getRootElement(),give44) function give18 () giveWeapon (source,18,5,true) end addEvent("give18",true) addEventHandler("give18",getRootElement(),give18) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} addEventHandler("onClientResourceStart",resourceRoot, function() GUIEditor_Window[1] = guiCreateWindow(224,131,364,323,"Umbrella Corperation's Weapon Shop!",true) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Window[2] = guiCreateWindow(0.25,0.35,0.5,0.2,"UPS!",true) button = guiCreateButton (0.35,0.6,0.3,0.2,"ok",true,GUIEditor_Window[2]) guiSetAlpha(GUIEditor_Window[2],1) label = guiCreateLabel (0.35,0.25,0.5,0.2,"Not enough money for that weapon",true,GUIEditor_Window[2]) GUIEditor_Button[1] = guiCreateButton(19,39,80,45,"Buy Dildo Large: $500000",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(144,37,80,45,"Buy Dildo Small: $250000",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(266,36,80,45,"Buy Viberator: $150000",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(145,119,79,50,"Buy 1000 Pistol Skill: $500000",false,GUIEditor_Window[1]) GUIEditor_Button[5] = guiCreateButton(266,120,85,51,"Buy 1000 Dual Uzi Skill: $1500000",false,GUIEditor_Window[1]) GUIEditor_Button[6] = guiCreateButton(17,120,79,50,"Buy 1000 SawnOff Skill: $750000",false,GUIEditor_Window[1]) GUIEditor_Image[1] = guiCreateStaticImage(14,196,88,73,"images/molotov.png",false,GUIEditor_Window[1]) GUIEditor_Button[7] = guiCreateButton(29,271,59,43,"Buy 5 Cocktales: $60000",false,GUIEditor_Window[1]) GUIEditor_Image[2] = guiCreateStaticImage(273,190,75,80,"images/night.png",false,GUIEditor_Window[1]) GUIEditor_Button[8] = guiCreateButton(280,271,70,43,"Buy 1 Night Vision: $100000",false,GUIEditor_Window[1]) GUIEditor_Button[9] = guiCreateButton(114,200,145,99,"EXIT",false,GUIEditor_Window[1]) end ) addEventHandler("onClientGUIClick",getRootElement(), function (player) if (source == GUIEditor_Button[29]) then guiSetVisible (GUIEditor_Window[1],false) showCursor (false) if (source == GUIEditor_Button[1]) then guiSetVisible (GUIEditor_Window[1],false) showCursor (false) elseif (source == GUIEditor_Button[30]) then guiSetVisible (GUIEditor_Window[2],false) showCursor (false) elseif (source == GUIEditor_Button[1]) then money = getPlayerMoney (source) if (money >= 500000) then player = getLocalPlayer() outputChatBox ("You bought a Dildo Large! For: $500000",225,225,0) takePlayerMoney(500000) triggerServerEvent ("give10",getLocalPlayer(),give10) else guiSetVisible(GUIEditor_Window[2],true) guiSetVisible(GUIEditor_Window[1],false) end elseif (source == GUIEditor_Button[2]) then money = getPlayerMoney (source) if (money >= 250000) then player = getLocalPlayer() outputChatBox ("You bought a Dildo Small! For: $250000",225,225,0) takePlayerMoney(250000) triggerServerEvent ("give11",getLocalPlayer(),give11) else guiSetVisible(GUIEditor_Window[1],false) guiSetVisible(GUIEditor_Window[2],true) end elseif (source == GUIEditor_Button[3]) then money = getPlayerMoney (source) if (money >= 150000) then player = getLocalPlayer() outputChatBox ("You bought a Viberater! For: $150000",225,225,0) takePlayerMoney(150000) triggerServerEvent ("give12",getLocalPlayer(),give12) else guiSetVisible(GUIEditor_Window[1],false) guiSetVisible(GUIEditor_Window[2],true) end elseif (source == GUIEditor_Button[7]) then money = getPlayerMoney (source) if (money >= 100000) then player = getLocalPlayer() outputChatBox ("You bought Night Vision! For: $100000",225,225,0) takePlayerMoney(100000) triggerServerEvent ("give44",getLocalPlayer(),give44) else guiSetVisible(GUIEditor_Window[1],false) guiSetVisible(GUIEditor_Window[2],true) end elseif (source == GUIEditor_Button[8]) then money = getPlayerMoney (source) if (money >= 60000) then player = getLocalPlayer() outputChatBox ("You bought 5 Cocktails! For: $60000",225,225,0) takePlayerMoney(60000) triggerServerEvent ("give18",getLocalPlayer(),give18) else guiSetVisible(GUIEditor_Window[1],false) guiSetVisible(GUIEditor_Window[2],true) end elseif (source == button) then guiSetVisible(GUIEditor_Window[2],false) guiSetVisible(GUIEditor_Window[1],true) end end end) function showGUI () guiSetVisible (GUIEditor_Window[1],true) showCursor (true) end addEvent ("showGUI",true) addEventHandler ("showGUI",getRootElement(),showGUI)
  13. try this: SATHLER_Button = {} SATHLER_Button["btn_mute"] = guiCreateButton(170, 75, 100, 30, "Mute", false) SATHLER_Button["btn_kick"] = guiCreateButton(275, 75, 100, 30, "Kick", false) for i, v in pairs(SATHLER_Button) do guiSetFont(v, "default-bold-small") end I've tested it and it works
  14. I got that error many times only when my resource name had spaces, if your resource name has spaces then remove them. and if you have characters like !,@,#,$,%,^,&,*,(,),-,+,|,=,\ ETC...
  15. What's your resource folder name?
  16. What download are you looking for?
  17. oh, Well, I'll help out...
  18. You can try contacting them through email: [email protected] I'm about to go contact them right now anyways... EDIT: It seems like their email isn't working to...
  19. What type of help are you looking for?
  20. I have an error: FORGET ABOUT THIS My Notepad++ version is: 6.1.2 (UNICODE)
  21. I don't see MTA San Andreas in their Game-Servers: http://game.kingj.net/pages/games anyways, try typing in "/start freeroam"
  22. Wow, they all look nice, I like the music with most of the videos only the last video kinda suxs :\
×
×
  • Create New...