Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. I think he means about putting scripts in resources, Here's the first thing: <meta> <info author="YOU" Description="YOUR DESCRIPTION" Version="VERSION IN #'S" type="TYPE OF RESOURCE" /> <script src="Client.lua" type="Client" /> <script src="Server.lua" type="Server" /> </meta> EDIT: I was talking to the Zombie guy, srry about not adding the quote
  2. DAMN THAT'S NICE, I WILL USE THIS FOR MY RPG SERVER FOR SURE
  3. I can't get the Lua Compiler anymore, Is there any other links?
  4. Jaysds1

    Low fps

    Choose one of the Download links here: http://support.amd.com/us/psearch/Pages/psearch.aspx?type=2.4.1&product=&contentType=GPU+Download+Detail&ostype=Windows+7+-+64-Bit+Edition&keywords=&items=20
  5. Jaysds1

    Crash issue 1.1

    Here's a Graphic Updater: http://www.intel.com/p/en_US/support/detect/?iid=subhdr+dnlds_detect Here's a Sound Update: http://download.cnet.com/SigmaTel-High-Definition-Audio-CODEC/3000-2110_4-173629.html Here's a Network Adapter List: http://www.drivermax.com/driver/update/Network-Adapters/Broadcom/Dell-Wireless-1390-WLAN-Mini-Card and Here's a Memory Stick Controller: http://drivers.softpedia.com/get/Other-DRIVERS-TOOLS/Others/RICOH-Memory-Stick-R5C83x-84x-Series-6000112.shtml
  6. ya, I like this too, I think it's good enough to be released too, many people would put this in there rpg server like SAES. anyways NICE
  7. u mean this? can u pls tell me step by step what i have to do? i'm searching for more then an hour now for this one small issue ya, put this in there <object name="resource.jl"></object> and did you put addAccount [uSERNAME] [PASSWORD] in the console?
  8. no, but you could make a script for it. And here's my Login script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=2247
  9. Did you put g_Me = getLocalPlayer() at the top? try this: g_Me = getLocalPlayer g_Root = getRootElement() function lockcar() local pojazd = getPedOccupiedVehicle(g_Me) if pojazd then if (isVehicleLocked (pojazd) == true) then outputChatBox("Pojazd jest juz zamkniety!") -- "Car is locked!" else outputChatBox("Pojazd zostal zamkniety.") setVehicleLocked (pojazd, true ) end end end addCommandHandler('lock', lockcar) --------------------------- -- unlock vehicle --------------------------- function unlockcar() local pojazd = getPedOccupiedVehicle(g_Me) if pojazd then if (isVehicleLocked (pojazd) == true) then outputChatBox("Pojazd zostal otworzony.") setVehicleLocked (pojazd, false ) else outputChatBox("Pojazd jest juz otoworzny!") -- "car is opened!" end end end addCommandHandler('unlock', unlockcar) --------------------------- -- auto unlock vehicle --------------------------- addEventHandler("onClientVehicleStartExit", g_Root, function() local pojazd = getPedOccupiedVehicle(g_Me) if (isVehicleLocked (pojazd) == true) then -- When player want to exit locked car it's been opened. outputChatBox("Pojazd zostal otowrzony.") setVehicleLocked (pojazd, false ) end end )
  10. You could use my scripts in the Community Website, and BTW(By The Way) what's this problem and can you show us the script.
  11. Jaysds1

    GUI An

    np (your welcome)
  12. Jaysds1

    GUI An

    use: guiCreateLabel( float x, float y, float width, float height, "You aren't an Army Member , you mayn't drive this.", bool relative) this is how it should look: local vehicle1 =createVehicle ( 520, 302.74, 1818.85, 17.64) ArmyVehicles ={[vehicle1]=true} ArmyTeam = { ["Army"]=true } function ArmyenterVehicle ( player, seat, jacked ) local team = getPlayerTeam(player) if ( ArmyVehicles[source] ) and ( not ArmyTeam[getTeamName ( team )] ) then cancelEvent() guiCreateLabel( float x, float y, float width, float height, "You aren't an Army Member , you mayn't drive this.", bool relative) --and tell the player why end end addEventHandler ( "onVehicleStartEnter", getRootElement(), ArmyenterVehicle )
  13. Go to this link and check to see if there's an update: http://www.geforce.com/drivers and click this button: or you could go to: http://www.nvidia.com/Download/index.aspx?lang=en-us and click this button: After check if it works and post another DX Dialog
  14. Jaysds1

    GUI An

    so instead of outputing it to the Chat box, you want it to be in a GUI Text with no gui showing?
  15. Jaysds1

    Problems

    @JR10 That doesn't work, it doesn't output the errors anymore, but doesn't add the username to the File, Do I need to add the xmlSaveFile() when the is writen? @Solidsnake14 Thanks for telling me EDITED: IT WORKS NOW, THANKS JR10 FOR HELP
  16. Jaysds1

    Problems

    Hi everyone, I have a problem with this Save script, it's suppose to save the players username but first it checks to see if there is anything in the value, but it doesn't check and doesn't save the username, Client-side ONLY: if (guiCheckBoxGetSelected(user_safe) == true) then safe = xmlLoadFile("safe.xml") child = xmlFindChild(safe,"Username") if (xmlNodeGetValue(child) ~= nil) then xmlNodeSetValue(child,username) if (xmlNodeGetValue(child1) ~= "") then child2 = xmlFindChild(safe,"Username2") if (xmlNodeGetValue(child2) ~= "") then outputChatBox("*INFO*: THERE IS NO MORE SPACE IN YOUR SAFE DIRECTORY TO SAVE YOUR USERNAME!",getLocalPlayer(),255,0,0) else xmlNodeSetValue(child2,username) end else xmlNodeSetValue(child1,username) end else child1 = xmlFindChild(safe,"Username1") end end
  17. Jaysds1

    Black Screen

    I suggest that you update the following: Grapic Driver
  18. are you still using the old Server program? If yes then, move all the resources you made or edited to the new server folder that you installed.
  19. all the file has in it is: <settings></settings> So there should be no need for that, I suggest that you should uninstall everything but the resources, then transfer all your resources that you edited or made and put them in the new server folder when you finish installing the MTA 1.1 program.
  20. Jaysds1

    Black Screen

    Can you show us the DX Dialog for your computer please.
  21. Can you explain more or maybe these can help you: Latest MTA 1.1 or Nightly: MTA 1.1 Nightly
×
×
  • Create New...