Jump to content

kevenvz

Members
  • Posts

    165
  • Joined

  • Last visited

Everything posted by kevenvz

  1. Maybe string.match? I always use string.match dunno why
  2. Function BindOnS (command) This should work
  3. Nevermind it is fixed. Thanks for the help anyways!
  4. Je hebt teveel MTA gespeelt als je een toetsenbord gebruikt om auto te rijden.
  5. I already did something like: lang = lang:gsub("^%l", string.upper) Cause only the first character needs to be uppercase. But my problem is if the value is nil it won't work if I add an if: if not lang == nil then lang = lang:gsub("^%l", string.upper) end it won't work
  6. Hello, I am making an resource(it works fully) but the problem is you need to do like /lang [language] but then the language is case sensitive. How can I turn this off? (I am not releasing my full code cause it works just this if class) if languages[lang] then setAccountData(getPlayerAccount(player),"chat.language",lang) outputChatBox("Your Language had been set to: #FFFFFF"..lang.."#FF0000!",player,255,0,0,true) return end
  7. Thank you all! Going to start on it right now!
  8. Hey, I want to create a custom chatbox and I hope you guys can help me out a bit. So I want to ask which basic functions should I use? Thanks!
  9. Hey, I want to create a custom chatbox and I hope you guys can help me out a bit. So I want to ask which basic functions should I use? Thanks!
  10. Wow I wouldn't release this resource if I was you, this resource is just so awesome!
  11. Hello, I got a problem I am working on a Language chat. Everything works but I want that you are limited to a few available languages. This all works but I want that if you do /lang you see the available languages now I got a problem. If you look at my code you would know what the problem is: local languages = {"English","Dutch","Test"} for _,l in ipairs(languages) do langs = langs + ", " + l end outputChatBox("Avaible languages: "..langs,player,255,0,0,true) Thank you!
  12. kevenvz

    DD Random map

    Change nil in if #activePlayers == nil then to 0 it should work.
  13. Hey I am planning to create a login panel and I want to make it with DX cause I want to learn how to use DX better, any tips for DX Gui scripting? Like a resource I can use or an tutorial or something. Thank you!
  14. Thank you solidsnake! It works, problem solved!
  15. Hello there MTA scripters, I need a bit help, I got this code but it don't say what it needs to say. I want a script that if you start the resource you see the text that are displayed in the xml file. Server: soundeffect = {} soundXML = xmlLoadFile( "commands.xml" ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) for index,node in pairs ( xmlNodeGetChildren ( soundXML ) ) do if xmlNodeGetName ( node ) == "command" then soundeffect[xmlNodeGetAttribute(node,"sound")] = node outputChatBox(node) end end) Commands.xml: <commands> <command name="shit" sound="eat.mp3" /> <command name="kaas" sound="kaas.mp3" /> </commands>
  16. Kevin TROLOLO Its Keven first. Second Moonlight is a little 13 years old boy that think he could lead a server but jsut playing the boss.
  17. Well, now that I said it. You placed my credits. But who knows your going to delete it again? And I want that you don't use it anymore. Because I am banned.
  18. Well, they are. I created a hornshop for them. They don't even put my credits on it!!!
  19. No, Co-Owner aka. Co-Vortex hater Quantum... But I just liked to share whit you so you got a server where you don't need to play on.
  20. I was playing on this server that got Vortex Vol 12. Then I saw this: WHICH NOOB SERVER DELETED THIS MAP? EVERY SERVER WANTS THIS MAP AND THIS SERVER JUST DELETE IT!!! Do they hate Vortex?! I think they do. Server name: BTH - Beleve The Hype And I know the guy who deleted this map and hates Vortex! HE IS CALLED: Moonlight! And he is a mapper! He thinks he is better then Vortex? Well I think he isn't but I think that he thinks that he is a better mapper. A true Vortex hater that Moonlight!
  21. CEGUI.log http://dl.dropbox.com/u/45145409/logs/CEGUI.log core.log http://dl.dropbox.com/u/45145409/logs/core.log logfile.txt http://dl.dropbox.com/u/45145409/logs/logfile.txt
  22. Yes, but sometimes he crashes too on FFSracing
  23. I did everything, this is his dxdiag. But it still crashes when he enters showdowngaming. ------------------ System Information ------------------ Time of this report: 11/3/2011, 19:11:22 Machine name: WINSTON_PC Operating System: Windows Vista™ Home Premium (6.0, Build 6001) Service Pack 1 (6001.vistasp1_gdr.101014-0432) Language: Dutch (Regional Setting: Dutch) System Manufacturer: Acer System Model: Aspire 7735 BIOS: Ver 1.00PARTTBL Processor: Pentium(R) Dual-Core CPU T4300 @ 2.10GHz (2 CPUs), ~2.1GHz Memory: 3066MB RAM Page File: 1343MB used, 4996MB available Windows Dir: C:\Windows DirectX Version: DirectX 10 DX Setup Parameters: Not found DxDiag Version: 6.00.6001.18000 32bit Unicode ------------ DxDiag Notes ------------ Display Tab 1: No problems found. Sound Tab 1: No problems found. Sound Tab 2: No problems found. Sound Tab 3: No problems found. Input Tab: No problems found. -------------------- DirectX Debug Levels -------------------- Direct3D: 0/4 (retail) DirectDraw: 0/4 (retail) DirectInput: 0/5 (retail) DirectMusic: 0/5 (retail) DirectPlay: 0/9 (retail) DirectSound: 0/5 (retail) DirectShow: 0/6 (retail) --------------- Display Devices --------------- Card name: ATI Mobility Radeon HD 4500/5100 Series Manufacturer: Advanced Micro Devices, Inc. Chip type: ATI display adapter (0x9553) DAC type: Internal DAC(400MHz) Device Key: Enum\PCI\VEN_1002&DEV_9553&SUBSYS_02611025&REV_00 Display Memory: 1783 MB Dedicated Memory: 505 MB Shared Memory: 1277 MB Current Mode: 1600 x 900 (32 bit) (60Hz) Monitor: Algemeen PnP-beeldscherm Driver Name: aticfx32.dll,aticfx32.dll,atiumdag.dll,atidxx32.dll,atiumdva.cap Driver Version: 8.17.0010.1099 (English) DDI Version: 10.1 Driver Attributes: Final Retail Driver Date/Size: 10/12/2011 21:14:26, 736768 bytes WHQL Logo'd: Yes WHQL Date Stamp: Device Identifier: {D7B71EE2-D613-11CF-DE77-6B22BEC2C535} Vendor ID: 0x1002 Device ID: 0x9553 SubSys ID: 0x02611025 Revision ID: 0x0000 Revision ID: 0x0000 Video Accel: ModeMPEG2_A ModeMPEG2_C Deinterlace Caps: {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {3C5323C1-6FB7-44F5-9081-056BF2EE449D}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {552C0DAD-CCBC-420B-83C8-74943CF9F1A6}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps= DDraw Status: Enabled D3D Status: Enabled AGP Status: Enabled ------------- Sound Devices ------------- Description: Luidsprekers (Realtek High Definition Audio) Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0888&SUBSYS_10250261&REV_1002 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: RTKVHDA.sys Driver Version: 6.00.0001.6482 (English) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 10/18/2011 19:53:14, 3546664 bytes Other Files: Driver Provider: Realtek Semiconductor Corp. HW Accel Level: Basic Cap Flags: 0xF1F Min/Max Sample Rate: 100, 200000 Static/Strm HW Mix Bufs: 1, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No Description: Luidsprekers (3- Logitech USB Headset) Default Sound Playback: No Default Voice Playback: No Hardware ID: USB\VID_046D&PID_0A14&REV_0130&MI_00 Manufacturer ID: 65535 Product ID: 65535 Type: WDM Driver Name: USBAUDIO.sys Driver Version: 6.00.6001.18000 (English) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 1/21/2008 03:23:21, 73088 bytes Other Files: Driver Provider: Microsoft HW Accel Level: Basic Cap Flags: 0xF1F Min/Max Sample Rate: 100, 200000 Static/Strm HW Mix Bufs: 1, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No Description: Realtek Digital Output (Realtek High Definition Audio) Default Sound Playback: No Default Voice Playback: No Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0888&SUBSYS_10250261&REV_1002 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: RTKVHDA.sys Driver Version: 6.00.0001.6482 (English) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 10/18/2011 19:53:14, 3546664 bytes Other Files: Driver Provider: Realtek Semiconductor Corp. HW Accel Level: Basic Cap Flags: 0xF1F Min/Max Sample Rate: 100, 200000 Static/Strm HW Mix Bufs: 1, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No --------------------- Sound Capture Devices --------------------- Description: Microfoon (Realtek High Definition Audio) Default Sound Capture: Yes Default Voice Capture: Yes Driver Name: RTKVHDA.sys Driver Version: 6.00.0001.6482 (English) Driver Attributes: Final Retail Date and Size: 10/18/2011 19:53:14, 3546664 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF Description: Microfoon (3- Logitech USB Headset) Default Sound Capture: No Default Voice Capture: No Driver Name: USBAUDIO.sys Driver Version: 6.00.6001.18000 (English) Driver Attributes: Final Retail Date and Size: 1/21/2008 03:23:21, 73088 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF Description: Microfoon (Screaming Bee Audio) Default Sound Capture: No Default Voice Capture: No Driver Name: ScreamingBAudio.sys Driver Version: 2.00.0003.0000 (English) Driver Attributes: Final Retail Date and Size: 7/1/2010 13:21:14, 34896 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF ------------------- DirectInput Devices ------------------- Device Name: Muis Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Toetsenbord Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Poll w/ Interrupt: No ----------- USB Devices ----------- + USB-hoofdhub | Vendor/Product ID: 0x8086, 0x2938 | Matching Device ID: usb\root_hub | Service: usbhub | Driver: usbhub.sys, 1/21/2008 03:23:03, 194560 bytes | Driver: usbd.sys, 1/21/2008 03:23:03, 5888 bytes | +-+ USB-HID | | Vendor/Product ID: 0x046D, 0xC045 | | Location: Port_#0002.Hub_#0002 | | Matching Device ID: usb\class_03&subclass_01 | | Service: HidUsb | | Driver: hidusb.sys, 5/8/2011 03:43:54, 12288 bytes | | Driver: hidclass.sys, 5/8/2011 03:43:54, 39936 bytes | | Driver: hidparse.sys, 5/8/2011 03:43:54, 25728 bytes | | | +-+ HID-compliant muis | | | Vendor/Product ID: 0x046D, 0xC045 | | | Matching Device ID: hid_device_system_mouse | | | Service: mouhid | | | Driver: mouhid.sys, 1/21/2008 03:23:20, 15872 bytes | | | Driver: mouclass.sys, 1/21/2008 03:23:20, 34360 bytes ---------------- Gameport Devices ---------------- ------------ PS/2 Devices ------------ + Launch Manager | Matching Device ID: *pnp0303 | Upper Filters: DKbFltr | Service: i8042prt
×
×
  • Create New...