Jump to content

Vinyard

Human Resources Staff
  • Posts

    2,132
  • Joined

  • Last visited

  • Days Won

    65

Everything posted by Vinyard

  1. I experience the same problem too and the patch didn't worked for me. This is my DxDiag: ------------------ System Information ------------------ Time of this report: 7/22/2013, 14:39:04 Machine name: ROIB Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 3 (2600.xpsp_sp3_qfe.080814-1300) Language: English (Regional Setting: English) System Manufacturer: Hewlett-Packard System Model: HP Compaq dx2400 Microtower BIOS: BIOS Date: 09/26/08 14:38:38 Ver: 5.31 Processor: Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz (2 CPUs) Memory: 2038MB RAM Page File: 529MB used, 3401MB available Windows Dir: C:\WINDOWS DirectX Version: DirectX 9.0c (4.09.0000.0904) DX Setup Parameters: Not found DxDiag Version: 5.03.2600.5512 32bit Unicode ------------ DxDiag Notes ------------ DirectX Files Tab: No problems found. Display Tab 1: No problems found. Sound Tab 1: No problems found. Music Tab: No problems found. Input Tab: No problems found. Network Tab: No problems found. -------------------- DirectX Debug Levels -------------------- Direct3D: 0/4 (n/a) DirectDraw: 0/4 (retail) DirectInput: 0/5 (n/a) DirectMusic: 0/5 (n/a) DirectPlay: 0/9 (retail) DirectSound: 0/5 (retail) DirectShow: 0/6 (retail) --------------- Display Devices --------------- Card name: Intel(R) G33/G31 Express Chipset Family Manufacturer: Intel Corporation Chip type: Intel(R) GMA 3100 DAC type: Internal Device Key: Enum\PCI\VEN_8086&DEV_29C2&SUBSYS_2A73103C&REV_02 Display Memory: 384.0 MB Current Mode: 1024 x 768 (32 bit) (85Hz) Monitor: SyncMaster 753DF(T)/ 783DF(T), MagicSyncMaster AQ17DF Monitor Max Res: 1280,1024 Driver Name: igxprd32.dll Driver Version: 6.14.0010.4885 (English) DDI Version: 9 (or higher) Driver Attributes: Final Retail Driver Date/Size: 10/30/2007 08:00:34, 57344 bytes WHQL Logo'd: Yes WHQL Date Stamp: n/a VDD: n/a Mini VDD: igxpmp32.sys Mini VDD Date: 10/30/2007 08:00:36, 5851488 bytes Device Identifier: {D7B78E66-6A82-11CF-9960-790AA3C2CB35} Vendor ID: 0x8086 Device ID: 0x29C2 SubSys ID: 0x2A73103C Revision ID: 0x0002 Revision ID: 0x0002 Video Accel: Deinterlace Caps: n/a Registry: OK DDraw Status: Enabled D3D Status: Enabled AGP Status: Not Available DDraw Test Result: Not run D3D7 Test Result: Not run D3D8 Test Result: Not run D3D9 Test Result: Not run ------------- Sound Devices ------------- Description: Realtek HD Audio output Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0888&SUBSYS_103C2A73&REV_1001 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: RtkHDAud.sys Driver Version: 5.10.0000.5508 (English) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 11/6/2007 17:23:56, 4622848 bytes Other Files: Driver Provider: Realtek Semiconductor Corp. HW Accel Level: Full Cap Flags: 0xF5F Min/Max Sample Rate: 8000, 192000 Static/Strm HW Mix Bufs: 33, 32 Static/Strm HW 3D Bufs: 33, 32 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: Yes, Yes I3DL2(tm) Listen/Src: Yes, Yes Sensaura(tm) ZoomFX(tm): No Registry: OK Sound Test Result: Not run --------------------- Sound Capture Devices --------------------- Description: Realtek HD Audio Input Default Sound Capture: Yes Default Voice Capture: Yes Driver Name: RtkHDAud.sys Driver Version: 5.10.0000.5508 (English) Driver Attributes: Final Retail Date and Size: 11/6/2007 17:23:56, 4622848 bytes Cap Flags: 0x41 Format Flags: 0xFFF ----------- DirectMusic ----------- DLS Path: C:\WINDOWS\SYSTEM32\drivers\GM.DLS DLS Version: 1.00.0016.0002 Acceleration: n/a Ports: Microsoft Synthesizer, Software (Not Kernel Mode), Output, DLS, Internal, Default Port Microsoft MIDI Mapper [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal Microsoft GS Wavetable SW Synth [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal Registry: OK Test Result: Not run ------------------- DirectInput Devices ------------------- Device Name: Mouse Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Keyboard Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: USB Keyboard Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC31C FF Driver: n/a Device Name: USB Keyboard Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC31C FF Driver: n/a Device Name: USB Keyboard Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x046D, 0xC31C FF Driver: n/a Poll w/ Interrupt: No Registry: OK ----------- USB Devices ----------- + USB Root Hub | Vendor/Product ID: 0x8086, 0x2935 | Matching Device ID: usb\root_hub | Service: usbhub | Driver: usbhub.sys, 4/13/2008 20:45:38, 59520 bytes | Driver: usbd.sys, 4/14/2008 05:00:00, 4736 bytes ---------------- Gameport Devices ---------------- ------------ PS/2 Devices ------------ + HID Keyboard Device | Vendor/Product ID: 0x046D, 0xC31C | Matching Device ID: hid_device_system_keyboard | Service: kbdhid | Driver: kbdhid.sys, 4/13/2008 20:39:50, 14592 bytes | Driver: kbdclass.sys, 4/14/2008 05:00:00, 24576 bytes | + Terminal Server Keyboard Driver | Matching Device ID: root\rdp_kbd | Upper Filters: kbdclass | Service: TermDD | Driver: termdd.sys, 4/14/2008 04:43:22, 40840 bytes | Driver: kbdclass.sys, 4/14/2008 05:00:00, 24576 bytes | + HID-compliant mouse | Vendor/Product ID: 0x046D, 0xC05A | Matching Device ID: hid_device_system_mouse | Service: mouhid | Driver: mouclass.sys, 11/5/2008 11:07:31, 23040 bytes | Driver: mouhid.sys, 11/5/2008 11:06:03, 12160 bytes | + Terminal Server Mouse Driver | Matching Device ID: root\rdp_mou | Upper Filters: mouclass | Service: TermDD | Driver: termdd.sys, 4/14/2008 04:43:22, 40840 bytes | Driver: mouclass.sys, 11/5/2008 11:07:31, 23040 bytes ---------------------------- DirectPlay Service Providers ---------------------------- DirectPlay8 Modem Service Provider - Registry: OK, File: dpnet.dll (5.03.2600.5512) DirectPlay8 Serial Service Provider - Registry: OK, File: dpnet.dll (5.03.2600.5512) DirectPlay8 IPX Service Provider - Registry: OK, File: dpnet.dll (5.03.2600.5512) DirectPlay8 TCP/IP Service Provider - Registry: OK, File: dpnet.dll (5.03.2600.5512) Internet TCP/IP Connection For DirectPlay - Registry: OK, File: dpwsockx.dll (5.03.2600.5512) IPX Connection For DirectPlay - Registry: OK, File: dpwsockx.dll (5.03.2600.5512) Modem Connection For DirectPlay - Registry: OK, File: dpmodemx.dll (5.03.2600.5512) Serial Connection For DirectPlay - Registry: OK, File: dpmodemx.dll (5.03.2600.5512) DirectPlay Voice Wizard Tests: Full Duplex: Not run, Half Duplex: Not run, Mic: Not run DirectPlay Test Result: Not run Registry: OK ------------------- DirectPlay Adapters ------------------- DirectPlay8 TCP/IP Service Provider: Local Area Connection - IPv4 - DirectPlay8 TCP/IP Service Provider: RDS - IPv4 - ----------------------- DirectPlay Voice Codecs ----------------------- Voxware VR12 1.4kbit/s Voxware SC06 6.4kbit/s Voxware SC03 3.2kbit/s MS-PCM 64 kbit/s MS-ADPCM 32.8 kbit/s Microsoft GSM 6.10 13 kbit/s TrueSpeech(TM) 8.6 kbit/s ------------------------- DirectPlay Lobbyable Apps ------------------------- ------------------------
  2. Astepti 60 de zile pana ban-ul va trece, dupa care poti juca din nou.
  3. Nu vreau sa-mi bat capul, insa din nou: nimeni nu te ajuta pentru ca trebuie sa inveti din experienta, normal ca e greu, nu e ca pe SA:MP ca ai tutoriale pentru fiecare chestie. Plus ca MTA are alta limba de codare, adica LUA, nu PAWNO. Daca chiar vrei sa-ti faci un server de RolePlay ai doua optiuni: 1. Inveti LUA, ceea ce va dura. 2. Te joci pe alte servere de RolePlay, poate si straine, si poate iti faci unele contacte care te pot ajuta, dar si asa prea greu. Iti recomand sa mai astepti, deoarece acum nu ai nici cunostinte si nici expertienta cu un server de MTA.
  4. Nu oferim ajutor in privinta asta pentru ca: 1. Nu ar trebui sa deschizi un server de RolePlay daca nu ai cunostinte minime in a seta un server cu tot tacamul (baza de date, rezolvarea bugurilor etc.) 2. Sigur GM-ul pe care il folosesti este cel de la vG.
  5. In locul tau nu as face asta, deoarece vom avea in lista o sumedenie de servere de RolePlay romanesti si se va intampla la fel ca si pe cele straine - 100 de servere cu 2-3 jucatori.
  6. Daca nu stii, mai bine taci, serios. Acest pack de obiecte 0.3c contine cateva obiecte din SA:MP (din cate stiu eu). Revenind, sigur ai instalat bine pack-ul?
  7. Uh, sorry guys but the post date is Sat Nov 12, 2011 1:25 am, I don't think this GM is still in development... This should be closed and archived, I think.
  8. Frate, deja avem o sectiune de acest gen. viewtopic.php?f=126&t=34698
  9. Am reusit, multumesc mult!
  10. Buna, am si eu o problema. Am facut un script care sa iti arate ID-ul culorilor pe care le poti folosi pe masini intr-un GUI. Insa cand pornesc script-ul imi deschide GUI-ul. Deci intrebarea mea ar fi: Ce sa folosesc pentru a face ca GUI-ul sa se deschida doar printr-o comanda, nu si cand pornesc resursa? Am cautat pe Forum si pe Wiki posibile solutii insa nu am gasit ceva pe intelese. Aici e codul meu, e clientside: addEventHandler("onClientResourceStart",resourceRoot, function () GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(0.2212,0.2633,0.5788,0.4267,"Color List",true) GUIEditor_Image[1] = guiCreateStaticImage(15,22,436,193,"colors.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(276,218,176,25,"Iesire",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[1], hide) GUIEditor_Button[2] = guiCreateButton(15,220,176,25,"Car List",false,GUIEditor_Window[1]) end ) function show () guiSetVisible( GUIEditor_Window[1], not guiGetVisible( GUIEditor_Window[1] ) ) guiWindowSetSizable( GUIEditor_Window[1], false) guiWindowSetMovable( GUIEditor_Window[1], false) end addCommandHandler("colorlist",show) function hide () guiSetVisible( GUIEditor_Window[1], false) end Am incercat sa sterg primul EventHandler insa dupa aceea nu imi mai crea GUI-ul deloc. Sper sa aveti o solutie
  11. Buna, O metoda ar fi sa intri pe Map Editor -> Locations -> Selectezi un int. (nu depinde care) , iar apoi te departezi pana nu mai vezi int. respectiv -> cauti la obiecte 'int' si acolo vei gasi interioare nemobilate. Asa fac eu. Stima, Tomitza.
  12. /makeshop - Adds a new NPC shop. /ah - For any other commands.
  13. You have to get Xampp and create a DataBase. Use this for help. viewtopic.php?f=148&t=42067
  14. Are your modules loaded?
  15. Nice, I like all of them. Keep up good work.
  16. Look if modules are loaded. Make a folder called "modules" in : A. MTA/Server/mods B. MTA/Server/mods/deathmatch C. MTA/Server/mods/deathmatch/resources !! If you run on windows you will have to put mta_mysql.dll in "modules" (in every folder) and libmysql.dll only in MTA/server !! Now go to mtaserver.config and look for modules line: "mta_mysql.dll" /> If there isn't one then you have to put it and delete the others. Look for mysql folder: There you got 2 folders - s_mysql.lua and connection.lua When you open s_mysql.lua you will see something like this. username = "root" password = "" db = "mta" -- Here you will put your DataBase name host = "localhost" -- Change if you got a host, if your host is your PC then leave it port = tonumber( get( "port" ) ) or 3306 -- Leave it like this When you open connection.lua you will see something like this. local hostname = "localhost" -- Change if you got a host, if your host is your PC then leave it. local username = "root" local password = "" local database = "mta" -- Here you will put your DataBase name local port = tonumber( get( "port" ) ) or 3306 -- Leave it like this. This is all I could help you guys hope I helped again. What is type up here is how to make it work on windows atleast that's how I made mine on PC. If this doesn't work get Team Viewer and PM me.
  17. Maybe this can help https://forum.multitheftauto.com/viewtop ... 758e7a688b
  18. Vinyard

    MTA Paradise.

    https://forum.multitheftauto.com/viewtop ... 0b0cebfb19 Maybe this will help you...
  19. Vinyard

    Traffic

    viewtopic.php?f=108&t=30104 Use search function next time
  20. Vinyard

    Shop GUI

    Nice. Can I ask you how you make the GUI look like this?
  21. Line 12.
  22. The link ain't working. It says that currently there is no text on page.
  23. And how I get the object model? Is the object ID?
  24. Hi guys. I'm Tomitza. I use sG scripts for a server to play with my friends and I want to add more objects but I don't know how . Here is the list of items from download package. g_items = { -- name, description, category, model, rx, ry, rz, zoffset -- categories: -- 1 = Food & Drink -- 2 = Keys -- 3 = Drugs -- 4 = Other -- 5 = Books -- 6 = Clothing & Accessories -- 7 = Electronics { "Hotdog", "A steamy, good looking and tasty hotdog.", 1, 2215, 205, 205, 0, 0.01 }, { "Cellphone", "A sleek cellphone, look's like a new one too.", 7, 330, 90, 90, 0, -0.05 }, { "Vehicle Key", "A vehicle key with a small manufacturers badge on it. (( Opens vehicle ##v ))", 2, 1581, 270, 270, 0, 0 }, { "House Key", "A green house key.", 2, 1581, 270, 270, 0, 0 }, { "Business Key", "A blue business key.", 2, 1581, 270, 270, 0, 0 }, { "Radio", "A black radio.", 7, 330, 90, 90, 0, -0.05 }, { "Phonebook", "A torn phonebook.", 5, 2824, 0, 0, 0, -0.01 }, { "Sandwich", "A yummy sandwich with cheese.", 1, 2355, 205, 205, 0, 0.06 }, { "Softdrink", "A can of Sprunk.", 1, 2647, 0, 0, 0, 0.12 }, { "Dice", "A white dice with white dots.", 4, 1271, 0, 0, 0, 0.285 }, { "Taco", "A greasy mexican taco.", 1, 2215, 205, 205, 0, 0.06 }, { "Burger", "A double cheeseburger with bacon.", 1, 2703, 265, 0, 0, 0.06 }, { "Donut", "Hot sticky sugar covered donut.", 1, 2222, 0, 0, 0, 0.07 }, { "Cookie", "A luxury chocolate chip cookie.", 1, 2222, 0, 0, 0, 0.07 }, { "Water", "A bottle of mineral water.", 1, 1484, -15, 30, 0, 0.2 }, { "Clothes", "A set of clean clothes. (( Skin ID ##v ))", 6, 2386, 0, 0, 0, 0.1 }, { "Watch", "A smart gold watch.", 6, 1271, 0, 0, 0, 0.285 }, { "City Guide", "A small city guide booklet.", 5, 2824, 0, 0, 0, -0.01 }, { "MP3 Player", "A white, sleek looking MP3 Player. The brand reads EyePod.", 7, 2886, 270, 0, 0, 0.1 }, { "Standard Fighting for Dummies", "A book on how to do standard fighting.", 5, 2824, 0, 0, 0, -0.01 }, { "Boxing for Dummies", "A book on how to do boxing.", 5, 2824, 0, 0, 0, -0.01 }, { "Kung Fu for Dummies", "A book on how to do kung fu.", 5, 2824, 0, 0, 0, -0.01 }, { "Knee Head Fighting for Dummies", "A book on how to do grab kick fighting.", 5, 2824, 0, 0, 0, -0.01 }, { "Grab Kick Fighting for Dummies", "A book on how to do elbow fighting.", 5, 2824, 0, 0, 0, -0.01 }, { "Elbow Fighting for Dummies", "A book on how to do elbow fighting.", 5, 2824, 0, 0, 0, -0.01 }, { "Gas Mask", "A black gas mask, blocks out the effects of gas and flashbangs.", 6, 2386, 0, 0, 0, 0.1 }, { "Flashbang", "A small grenade canister with FB written on the side.", 4, 343, 0, 0, 0, 0.1 }, { "Glowstick", "A green glowstick.", 4, 343, 0, 0, 0, 0.1 }, { "Door Ram", "A red metal door ram.", 4, 1587, 90, 0, 0, 0.05 }, { "Cannabis Sativa", "Cannabis Sativa, when mixed can create some strong drugs.", 3, 1279, 0, 0, 0, 0 }, { "Cocaine Alkaloid", "Cocaine Alkaloid, when mixed can create some strong drugs.", 3, 1279, 0, 0, 0, 0 }, { "Lysergic Acid", "Lysergic Acid, when mixed can create some strong drugs.", 3, 1279, 0, 0, 0, 0 }, { "Unprocessed PCP", "Unprocessed PCP, when mixed can create some strong drugs.", 3, 1279, 0, 0, 0, 0 }, { "Cocaine", "1g of cocaine.", 3, 1575, 0, 0, 0, 0 }, { "Drug 2", "A marijuana joint laced in cocaine.", 3, 1576, 0, 0, 0, 0 }, { "Drug 3", "50mg of cocaine laced in lysergic acid.", 3, 1578, 0, 0, 0, -0.02 }, { "Drug 4", "50mg of cocaine laced in phencyclidine.", 3, 1579, 0, 0, 0, 0 }, { "Marijuana", "A marijuana joint.", 3, 3044, 0, 0, 0, 0.04 }, { "Drug 6", "A marijuana joint laced in lysergic acid.", 3, 1580, 0, 0, 0, 0 }, { "Angel Dust", "A marijuana joint laced in phencyclidine.", 3, 1575, 0, 0, 0, -0.02 }, { "LSD", "80 micrograms of LSD.", 3, 1576, 0, 0, 0, 0 }, { "Drug 9", "100milligrams of yellow liquid.", 3, 1577, 0, 0, 0, 0 }, { "PCP Hydrochloride", "10mg of phencyclidine powder.", 3, 1578, 0, 0, 0, 0 }, { "Chemistry Set", "A small chemistry set.", 4, 1210, 90, 0, 0, 0.1 }, { "Handcuffs", "A pair of metal handcuffs.", 4, 2386, 0, 0, 0, 0.1 }, { "Rope", "A long rope.", 4, 1271, 0, 0, 0, 0.285 }, { "Handcuff Keys", "A small pair of handcuff keys.", 4, 2386, 0, 0, 0, 0.1 }, { "Backpack", "A reasonably sized backpack.", 4, 3026, 270, 0, 0, 0 }, { "Fishing Rod", "A 7 foot carbon steel fishing rod.", 4, 338, 80, 0, 0, -0.02 }, { "Los Santos Highway Code", "The Los Santos Highway Code.", 5, 2824, 0, 0, 0, -0.01 }, { "Chemistry 101", "An Introduction to Useful Chemistry.", 5, 2824, 0, 0, 0, -0.01 }, { "Police Officer's Manual", "The Police Officer's Manual.", 5, 2824, 0, 0, 0, -0.01 }, { "Breathalizer", "A small black breathalizer.", 4, 1271, 0, 0, 0, 0.285 }, { "Ghettoblaster", "A black Ghettoblaster.", 7, 2226, 0, 0, 0, 0 }, { "Business Card", "Steven Pullman - L.V. Freight Depot, Tel: 12555", 4, 1581, 270, 270, 0, 0 }, { "Ski Mask", "A Ski mask.", 6, 2386, 0, 0, 0, 0.1 }, { "Fuel Can", "A small metal fuel canister.", 4, 1517, 0, 0, 0, 0.15 }, { "Ziebrand Beer", "The finest beer, imported from Holland.", 1, 1520, 0, 0, 0, 0.15 }, { "Mudkip", "So i herd u liek mudkips? mabako's Favorite.", 1, 1579, 0, 0, 0, 0 }, { "Safe", "A safe to store your items in.", 4, 2332, 0, 0, 0, 0 }, { "Emergency Light Strobes", "An Emergency Light Strobe which you can put on you car.", 7, 2886, 270, 0, 0, 0.1 }, { "Bastradov Vodka", "For your best friends - Bastradov Vodka.", 1, 1512, 0, 0, 0, 0.25 }, { "Scottish Whiskey", "The Best Scottish Whiskey, now exclusively made from Haggis.", 1, 1512, 0, 0, 0, 0.25 }, { "LSPD Badge", "A Los Santos Police Department badge.", 4, 1581, 270, 270, 0, 0 }, { "LSES Identification", "An Los Santos Emergency Service Identification.", 4, 1581, 270, 270, 0, 0 }, { "Blindfold", "A black blindfold.", 6, 2386, 0, 0, 0, 0.1 }, { "GPS", "A GPS Satnav for a car.", 6, 2886, 270, 0, 0, 0.1 }, { "Lottery Ticket", "A Los Santos Lottery ticket.", 6, 1581, 270, 270, 0, 0 }, { "Dictionary", "A Dictionary.", 5, 2824, 0, 0, 0, -0.01 }, { "First Aid Kit", "Saves a Life. Can be used #v times.", 4, 1240, 90, 0, 0, 0.05 }, { "Notebook", "A small collection of blank papers, useful for writing notes. There are #v pages left. ((/writenote))", 4, 2824, 0, 0, 0, -0.01 }, { "Note", "The note reads: #v", 4, 2824, 0, 0, 0, -0.01 }, { "Elevator Remote", "A small remote to change an elevator's mode.", 2, 364, 0, 0, 0, 0.05 }, { "Bomb", "What could possibly happen when you use this?", 4, 363, 270, 0, 0, 0.05 }, { "Bomb Remote", "Has a funny red button.", 4, 364, 0, 0, 0, 0.05 }, { "Riot Shield", "A heavy riot shield.", 4, 1631, -90, 0, 0, 0.1 }, { "Card Deck", "A card deck to play some games.", 4,2824, 0, 0, 0, -0.01 }, { "San Andreas Pilot Certificate", "An official permission to fly planes and helicopters.", 4, 1581, 270, 270, 0, 0 }, { "Porn Tape", "A porn tape, #v", 4,2824, 0, 0, 0, -0.01 }, { "Generic Item", "#v", 4, 1271, 0, 0, 0, 0.285 }, { "Fridge", "A fridge to store food and drinks in.", 7, 2147, 0, 0, 0, 0 }, { "LST&R Identification", "This LST&R Identification has been issued to #v.", 4, 1581, 270, 270, 0, 0 }, { "Coffee", "A small cup of Coffee.", 1, 2647, 0, 0, 0, 0.12 }, { "Escort 9500ci Radar Detector", "Detects Police within a half mile.", 7, 330, 90, 90, 0, -0.05 }, { "Emergency Siren", "An emergency siren to put in your car.", 7, 330, 90, 90, 0, -0.05 }, { "SAN Identifcation", "A SAN Identification issued to #v.", 7, 330, 90, 90, 0, -0.05 }, { "LS Government Badge", "A Los Santos Government Badge.", 4, 1581, 270, 270, 0, 0 }, { "Earpiece", "A small earpiece, can be connected to a radio.", 7, 1581, 270, 270, 0, 0 }, { "Food", "", 1, 2222, 0, 0, 0, 0.07 }, { "Helmet", "Ideal for riding bikes.", 6, 2386, 0, 0, 0, 0.1 }, { "Eggnog", "Yum Yum.", 1, 2647, 0, 0, 0, 0.1 }, --91 { "Turkey", "Yum Yum.", 1, 2222, 0, 0, 0, 0.1 }, { "Christmas Pudding", "Yum Yum.", 1, 2222, 0, 0, 0, 0.1 }, { "Christmas Present", "I know you want one.", 4, 1220, 0, 0, 0, 0.1 }, { "Drink", "", 1, 1484, -15, 30, 0, 0.2 }, { "PDA", "A top of the range PDA to view e-mails and browse the internet.", 6, 2886, 270, 0, 0, 0.1 }, { "LSES Procedures Manual", "The Los Santos Emergency Service procedures handbook.", 5, 2824, 0, 0, 0, -0.01 }, { "Garage Remote", "A small remote to open or close a Garage.", 2, 364, 0, 0, 0, 0.05 }, { "Mixed Dinner Tray", "Lets play the guessing game.", 1, 2355, 205, 205, 0, 0.06 }, { "Small Milk Carton", "Lumps included!", 1, 2856, 0, 0, 0, 0 }, { "Small Juice Carton", "Thirsty?", 1, 2647, 0, 0, 0, 0.12 }, { "Cabbage", "For those Vegi-Lovers.", 1, 1271, 0, 0, 0, 0.1 }, { "Shelf", "A large shelf to store stuff on", 4, 3761, -0.15, 0, 85, 1.95 }, { "Portable TV", "A portable TV to watch TV shows with.", 6, 2886, 270, 0, 0, 0.1 }, { "Small Single Bed", "Single type bed.", 4, 1796, 0, 0, 0, 0 }, --105 { "Double Bed", "Double type bed",4, 1799, 0, 0, 0, 0 }, { "Single Couch", "single couch.", 4, 1769, 0, 0, 0, 0 }, { "Couch", "A couch.", 4, 1768, 0, 0, 0, 0 }, { "Wooden Chair", "A small wooden chair.", 4, 2120, 0, 0, 0, 0.8 }, { "Office Chair 1", "A office chair.", 4, 1715, 0, 0, 0, 0.2}, { "Office Chair 2", "A small wooden chair.", 4,1714, 0, 0, 0, 0.2 }, --111 { "Bar stool", "A barstool.", 4, 2350, 0, 0, 0, 0.3 }, { "Pizza Table", "A pizza table.", 4, 2764, 0, 0, 0, 0.3 }, { "Pool Table", "A pool table.", 4, 2964, 0, 0, 0, 0 }, { "Card Table", "A card table.", 4, 2188, 0, 0, 0, 1 }, --115 { "Ramp", "A wooden ramp.", 4, 1245, 0, 0, 0, 1 }, { "Ramp 2", "A yellow coloured ramp.", 4,13593, 0, 0, 0, 1}, { "Shop Desk", "A small shop desk.", 4,2370, 0, 0, 0, 0 ,0}, { "Electric lock", "An electrical lock to protect vehicle from jackers.", 7,1581, 270, 270, 0, 0} --Chairs = { 1663, 1671, 1720, 1721, 1810, 1811, 2079, 2120, 2121, 2125, 2777, 2788, 1369 } } function getItemRotInfo(id) if not g_items[id] then return 0, 0, 0, 0 else return g_items[id][5], g_items[id][6], g_items[id][7], g_items[id][8] end end local function findVehicleName( value ) for _, theVehicle in pairs( getElementsByType( "vehicle" ) ) do if getElementData( theVehicle, "dbid" ) == value then return " (" .. getVehicleName( theVehicle ) .. ")" end end return "" end function getItemName(id, value) if id == -100 then return "Body Armor" elseif id == -46 then -- MTA Client bug return "Parachute" elseif id < 0 then return getWeaponNameFromID( -id ) elseif not g_items[id] then return "?" elseif id == 3 and value then return g_items[id][1] .. findVehicleName(value) elseif ( id == 4 or id == 5 ) and value then local pickup = exports['interior-system']:findParent( nil, value ) local name = pickup and getElementData( pickup, "name" ) return g_items[id][1] .. ( name and ( " (" .. name .. ")" ) or "" ) elseif ( id == 80 ) and value then return value elseif ( id == 96 ) and value and value ~= 1 then return value elseif ( id == 89 or id == 95 ) and value and value:find( ";" ) then return value:sub( 1, value:find( ";" ) - 1 ) else return g_items[id][1] end end function getItemValue(id, value) if id == 80 then return "" elseif id == 96 then return 1 elseif id == 89 or id == 95 then return value:sub( value:find( ";" ) + 1 ) else return value end end function getItemDescription(id, value) local i = g_items[id] if i then local desc = i[2] if id == 96 and value ~= 1 then return desc:gsub("PDA","Laptop") else return desc:gsub("#v",value) end end end function getItemType(id) return ( g_items[id] or { nil, nil, 4 } )[3] end function getItemModel(id) return ( g_items[id] or { nil, nil, nil, 1271 } )[4] end Well I don't know what to do after category [ model, rx, ry, rz, zoffset] I know I should make mine but if you can answer I would appreciate. Thanks for help Tomitza
×
×
  • Create New...