Jump to content

TuRisMo

Members
  • Posts

    26
  • Joined

  • Last visited

Details

  • Gang
    N/A

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

TuRisMo's Achievements

Advanced Member

Advanced Member (8/54)

0

Reputation

  1. TuRisMo

    MTA Crash problem

    DxDiag log: ------------------ System Information ------------------ Time of this report: 9/8/2014, 21:10:37 Machine name: SKANDER Operating System: Windows 8 Release Preview 32-bit (6.2, Build 8400) (8400.winmain_win8rc.120518-1423) Language: French (Regional Setting: French) System Manufacturer: Hewlett-Packard System Model: HP Compaq 6730s BIOS: Default System BIOS Processor: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz (2 CPUs), ~2.0GHz Memory: 2048MB RAM Available OS Memory: 2044MB RAM Page File: 1913MB used, 2562MB available Windows Dir: C:\Windows DirectX Version: DirectX 11 DX Setup Parameters: Not found User DPI Setting: Using System DPI System DPI Setting: 96 DPI (100 percent) DWM DPI Scaling: Disabled DxDiag Version: 6.02.8400.0000 32bit Unicode ------------ DxDiag Notes ------------ Display Tab 1: No problems found. Sound Tab 1: No problems found. Sound Tab 2: 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 3430 (Engineering Sample - WDDM v1.1) Manufacturer: Advanced Micro Devices, Inc. Chip type: DAC type: Internal DAC(400MHz) Device Type: Full Device Device Key: Enum\PCI\VEN_1002&DEV_95C2&SUBSYS_30E9103C&REV_00 Display Memory: 1017 MB Dedicated Memory: 252 MB Shared Memory: 765 MB Current Mode: 1280 x 800 (32 bit) (60Hz) Monitor Name: Moniteur Plug-and-Play générique Monitor Model: LP154WX4-TLCB Monitor Id: LPL3101 Native Mode: 1280 x 800(p) (59.976Hz) Output Type: Internal Driver Name: aticfx32.dll,aticfx32.dll,atiumdag.dll,atidxx32.dll,atiumdva.cap Driver File Version: 9.18.0010.1129 (English) Driver Version: 8.97.10.0 DDI Version: 10.1 Feature Levels: 10.1,10.0,9.3,9.2,9.1 Driver Model: WDDM 1.1 Graphics Preemption: DMA Compute Preemption: DMA Driver Attributes: Final Retail Driver Date/Size: 5/19/2012 05:39:38, 918528 bytes WHQL Logo'd: Yes WHQL Date Stamp: Device Identifier: {D7B71EE2-D682-11CF-E577-E310BDC2C435} Vendor ID: 0x1002 Device ID: 0x95C2 SubSys ID: 0x30E9103C Revision ID: 0x0000 Driver Strong Name: atiilhag.inf:cb0ae414e5571764:ati2mtag_M72:8.97.10.0:pci\ven_1002&dev_95c2 Rank Of Driver: 00E32001 Video Accel: ModeMPEG2_A ModeMPEG2_C DXVA2 Modes: DXVA2_ModeMPEG2_IDCT DXVA2_ModeH264_VLD_NoFGT DXVA2_ModeVC1_VLD Deinterlace Caps: {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 {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 {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 D3D9 Overlay: Not Supported DXVA-HD: Not Supported DDraw Status: Enabled D3D Status: Enabled AGP Status: Enabled ------------- Sound Devices ------------- Description: Casque (Périphérique High Definition Audio) Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: HDAUDIO\FUNC_01&VEN_11D4&DEV_194A&SUBSYS_103C3615&REV_1004 Manufacturer ID: 1 Product ID: 65535 Type: WDM Driver Name: HdAudio.sys Driver Version: 6.02.8400.0000 (French) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 5/19/2012 04:51:32, 275456 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: Haut-parleurs (Périphérique High Definition Audio) Default Sound Playback: No Default Voice Playback: No Hardware ID: HDAUDIO\FUNC_01&VEN_11D4&DEV_194A&SUBSYS_103C3615&REV_1004 Manufacturer ID: 1 Product ID: 65535 Type: WDM Driver Name: HdAudio.sys Driver Version: 6.02.8400.0000 (French) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 5/19/2012 04:51:32, 275456 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 --------------------- Sound Capture Devices --------------------- Description: Microphone (Périphérique High Definition Audio) Default Sound Capture: Yes Default Voice Capture: Yes Driver Name: HdAudio.sys Driver Version: 6.02.8400.0000 (French) Driver Attributes: Final Retail Date and Size: 5/19/2012 04:51:32, 275456 bytes Cap Flags: 0x1 Format Flags: 0xFFFFF ------------------- DirectInput Devices ------------------- Device Name: Souris Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Clavier Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: HP Quick Launch Buttons Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x3647, 0x0001 FF Driver: n/a Poll w/ Interrupt: No ----------- USB Devices ----------- + Concentrateur USB racine | Vendor/Product ID: 0x8086, 0x2937 | Matching Device ID: USB\ROOT_HUB | Service: usbhub | Driver: usbhub.sys, 5/19/2012 06:06:08, 367824 bytes | Driver: usbd.sys, 5/19/2012 06:06:07, 18632 bytes ---------------- Gameport Devices ---------------- ------------ PS/2 Devices ------------ + Périphérique clavier PIH | Matching Device ID: HID_DEVICE_SYSTEM_KEYBOARD | Service: kbdhid | Driver: kbdhid.sys, 5/19/2012 04:54:11, 23040 bytes | Driver: kbdclass.sys, 5/19/2012 06:07:59, 39624 bytes | + Standard 101/102-Key or Microsoft Natural PS/2 Keyboard with HP QLB | Matching Device ID: *PNP0303 | Upper Filters: HpqKbFiltr | Service: i8042prt | Driver: HpqKbFiltr.sys, 4/29/2009 06:46:54, 15872 bytes | Driver: i8042prt.sys, 5/19/2012 04:54:06, 90112 bytes | Driver: kbdclass.sys, 5/19/2012 06:07:59, 39624 bytes | Driver: wdfcoinstaller01005.dll, 11/2/2006 05:09:50, 1419232 bytes | + Synaptics PS/2 Port TouchPad | Matching Device ID: *syn014b | Upper Filters: SynTP | Service: i8042prt | Driver: SynTP.sys, 6/4/2010 02:18:58, 1303728 bytes | Driver: SynTPAPI.dll, 6/4/2010 02:17:46, 165160 bytes | Driver: SynCOM.dll, 6/4/2010 02:17:42, 173352 bytes | Driver: SynCtrl.dll, 6/4/2010 02:17:42, 214312 bytes | Driver: SynTPRes.dll, 6/4/2010 02:17:50, 10233128 bytes | Driver: SynTPCpl.dll, 6/4/2010 02:17:48, 1213736 bytes | Driver: SynCntxt.rtf, 6/4/2010 02:06:04, 9967998 bytes | Driver: SynZMetr.exe, 6/4/2010 02:17:38, 247080 bytes | Driver: SynMood.exe, 6/4/2010 02:17:36, 238888 bytes | Driver: SynTPEnh.exe, 6/4/2010 02:17:36, 1791272 bytes | Driver: SynTPCOM.dll, 6/4/2010 02:17:48, 107816 bytes | Driver: Tutorial.exe, 6/4/2010 02:17:40, 337192 bytes | Driver: InstNT.exe, 6/4/2010 02:17:34, 124200 bytes | Driver: SynISDLL.dll, 6/4/2010 02:17:44, 218408 bytes | Driver: SynUnst.ini, 6/8/2010 20:45:44, 659557 bytes | Driver: SynTPHelper.exe, 6/4/2010 02:17:38, 103720 bytes | Driver: SynChiralRotate.mpg, 9/17/2008 20:13:08, 382277 bytes | Driver: SynFlick.mpg, 9/3/2008 18:27:28, 737975 bytes | Driver: SynPinch.mpg, 9/3/2008 18:27:28, 286463 bytes | Driver: SynMomentum.mpg, 9/3/2008 18:27:28, 246230 bytes | Driver: SynLinearVHScroll.mpg, 9/3/2008 18:27:28, 929103 bytes | Driver: SynChiralVHScroll.mpg, 9/3/2008 18:27:28, 1620778 bytes | Driver: SynTwoFingerVHScroll.mpg, 3/16/2009 16:44:00, 746464 bytes | Driver: SynPivotRotate_ChiralRotate.mpg, 4/10/2009 00:04:14, 1142810 bytes | Driver: SynThreeFingerFlick.mpg, 3/16/2009 16:44:00, 633621 bytes | Driver: SynThreeFingersDown.mpg, 3/16/2009 16:44:00, 215907 bytes | Driver: SynPivotRotate.mpg, 4/10/2009 00:04:14, 770663 bytes | Driver: SynPivotRotateClickPad.mpg, 3/3/2010 15:46:22, 1517568 bytes | Driver: i8042prt.sys, 5/19/2012 04:54:06, 90112 bytes | Driver: mouclass.sys, 5/19/2012 06:06:03, 38600 bytes | Driver: SynTPCo4.dll, 6/4/2010 02:17:46, 120104 bytes | Driver: WdfCoInstaller01009.dll, , 0 bytes | + Souris HID | Vendor/Product ID: 0x1BCF, 0x0002
  2. function noattack(attacker) if getElementData(source,"invincible") then setElementHealth(attacker,getElementHealth(attacker)-10) cancelEvent() end end addEventHandler("onClientPlayerDamage", attacker, noattack) function noVehicleDamage() if (isPedInVehicle (source) == false) then return end staffVehicle = getPedOccupiedVehicle(source) setVehicleDamageProof(staffVehicle, true) end addEvent ("trololo", true ) addEventHandler("trololo", localPlayer, noVehicleDamage) Alright this script is supposed to make the Admin his car invincible. And when someone attacks him the attacker should get a 10 HP slap Here's the debug message:
  3. TuRisMo

    Object ID

    You dont say! I tried it before posting here, and it did not work, anyways I found the ID already
  4. TuRisMo

    Object ID

    Can you please give me the ID of the object below? (It's in the Restricted area, in the army base)
  5. TuRisMo

    aclGetGroup

    function joinTeam() triggerServerEvent("setteam", player) guiSetVisible(windowjob, false) showCursor(false) guiSetInputEnabled(false) end addEventHandler("onClientGUIClick", GUIEditor_Button[1] , joinTeam, false)
  6. TuRisMo

    aclGetGroup

    when I trigger the event from client side, nothing happens
  7. TuRisMo

    aclGetGroup

    team = createTeam ( "Team", 0, 50, 0 ) function addtoteam(thePlayer) local account = getPlayerAccount(thePlayer) local accName = getAccountName ( account ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then setPlayerTeam(thePlayer, team) setElementModel(thePlayer, 287) setElementData( thePlayer, "Occupation", "Example", true ) outputChatBox("You are now Team.", thePlayer, 0, 255, 0) end end addEvent("setteam", true) addEventHandler("setteam", root, addtoteam) So the point is that if the accountname is in Admin ACL group then he will be Set in the team "Team", and the event setteam will be trigered from a GUI.
  8. TuRisMo

    playsound

    I couldn't find out how to use the ifElement correctly with audios
  9. TuRisMo

    playsound

    I want help in something else, how to check if the sound is over? I mean, I am going to make a checkbox for "Enabling Replay" when the song is over. so it would be like that function replay() if ( --the song is over) then if ( guiCheckBoxGetSelected(checkbox1) ) then startSound( sound ) end end end
  10. TuRisMo

    playsound

    myonlake solution worked, thanks for your help both
  11. TuRisMo

    playsound

    I want to play the music URL from the gridlist item, but when I click on the button it does not work local music = guiGridListGetItemText ( gridlist1, guiGridListGetSelectedItem ( gridlist1 ), column1 ) function playTheSound ( ) sound = playSound (music) setSoundVolume (sound, 1.0) outputChatBox ( " Started Playing " ..music ) end addEventHandler ( "onClientGUIClick", button2, playTheSound, false ) function stopTheSound ( ) stopSound(sound) outputChatBox ( music.. "Stoped" ) end addEventHandler ( "onClientGUIClick", button3, stopTheSound, false )
  12. TuRisMo

    gridlist

    that works, thanks
  13. TuRisMo

    gridlist

    I want to know why when I press the button the item isn't getting added to the gridlist. Thanks function addplaylist() if guiGetText(edit1) ~= "" then row = guiGridListAddRow(gridlist1) guiGridListSetItemText(gridlist1, row, column1, guiGetText(edit1), false, false) guiSetText(edit1,"") end end addEventHandler(onClientGUIClick, button1, addplaylist()) function removeplaylist() if guiGridListGetSelectedItem(gridlist1) ~= -1 then row, column = guiGridListGetSelectedItem(gridlist1) guiGridListRemoveRow(gridlist1,row) end end addEventHandler(onClientGUIClick, button6, removeplaylist())
  14. Errm Hi, I am making a script and this is the first time I deal with GUIs, I am getting a problem in this GUI, it doesn't even show up when I press F10 D: function guiToggleVisible ( ) if ( guiGetVisible ( musicwindow ) == true ) then guiSetVisible ( musicwindow, false ) else guiSetVisible ( musicwindow, true ) end end musicwindow = guiCreateWindow(0, 0, 461, 336, "Music Player", false) checkbox1 = guiCreateCheckBox(190, 285, 91, 31, "Enable Replay", false) edit1 = guiCreateEdit(20, 75, 421, 21, "", false) guiEditSetMaxLength(edit1, 32767) label2 = guiCreateLabel(20, 55, 141, 16, "Insert your Music Link here:", false) guiLabelSetHorizontalAlign(label2, "left", false) guiLabelSetVerticalAlign(label2, "center") label1 = guiCreateLabel(170, 25, 81, 16, "CIT Music Player", false) guiLabelSetHorizontalAlign(label1, "left", false) guiLabelSetVerticalAlign(label1, "center") gridlist1 = guiCreateGridList(20, 145, 421, 121} button1 = guiCreateButton(20, 105, 81, 31, "Add To Playlist", false) button2 = guiCreateButton(70, 285, 51, 31, "Play", false) button3 = guiCreateButton(130, 285, 51, 31, "Stop", false) button4 = guiCreateButton(280, 285, 41, 31, "-", false) button5 = guiCreateButton(330, 285, 41, 31, "+", false) bindKey ( "F10", "down", guiToggleVisible )
×
×
  • Create New...