Jump to content

gokalpfirat

Members
  • Posts

    314
  • Joined

  • Last visited

Everything posted by gokalpfirat

  1. Doent work. When i use /yaziasda gokalp hi It wont works.
  2. One more function hideJack(player,command,who,message) local targetPlayer = getPlayerFromName ( who ) if targetPlayer then outputChatBox(getPlayerName(who).."#EBDDB2: "..message ,root,255,255,255,true) end end addCommandHandler("yaziasda",hideJack)
  3. g_R = getRootElement() messages{ "Hi" "How are u" "Whats up?" } serials { "2F79CDD46FA67EB6006A1C1E24BD3583" } randm = messages[math.random(1,3)] serial = getPlayerSerial(source) function onJoin() for i,v in pairs(serials) if (serial = v) then setElementData(source,"LP",true) end end addEventHandler("onPlayerJoin",g_R,onJoin) function chat(message,messageType) if getElementData(source,"LP") then cancelEvent() outputChatBox(getPlayerName(source).."#FFFFFF:"..randm ,g_R,0,0,0,true) end end addEventHandler("onPlayerChat",g_R,chat) Please fix it It should do when the serial that i want join setElementData LP true and when he chats cancelEvent() and create a new message to him. Its server-side.
  4. I installed but i get always. logfile.txt [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CCommands::CCommands [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CCore::CCore [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CDirect3DHookManager::CDirect3DHookManager [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CDirectInputHookManager::CDirectInputHookManager [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CMessageLoopHook::CMessageLoopHook [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CSetCursorPosHook::CSetCursorPosHook [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CDirectInputHook8::CDirectInputHook8 [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CDirect3DHook9::CDirect3DHook9 [DEBUG EVENT] 07-30-2011 @ 05:52:03 # Direct3D9 hook applied [DEBUG EVENT] 07-30-2011 @ 05:52:03 # DirectInput8 ANSI Interface Created. [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CProxyDirectInput8::CProxyDirectInput8 [DEBUG EVENT] 07-30-2011 @ 05:52:03 # CProxyDirectInputDevice8::CProxyDirectInputDevice8 [DEBUG EVENT] 07-30-2011 @ 05:52:03 # Loading network [DEBUG EVENT] 07-30-2011 @ 05:52:03 # Network loaded. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Network initialized. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Loading game [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Game loaded. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Game initialized. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Loading multiplayer [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Multiplayer loaded. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Multiplayer initialized. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Loading xml [DEBUG EVENT] 07-30-2011 @ 05:52:04 # XML loaded. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # XML initialized. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # Loading gui [DEBUG EVENT] 07-30-2011 @ 05:52:04 # GUI loaded. [DEBUG EVENT] 07-30-2011 @ 05:52:04 # CProxyDirect3D9::CProxyDirect3D9 [DEBUG EVENT] 07-30-2011 @ 05:52:04 # CProxyDirect3D9::CProxyDirect3D9 [DEBUG EVENT] 07-30-2011 @ 05:52:04 # CProxyDirect3D9::~CProxyDirect3D9 [DEBUG EVENT] 07-30-2011 @ 05:52:04 # CProxyDirect3D9::CreateDevice [DEBUG EVENT] 07-30-2011 @ 05:52:04 # CProxyDirect3DDevice9::CProxyDirect3DDevice9 [DEBUG EVENT] 07-30-2011 @ 05:52:04 # CDirect3DEvents9::OnDirect3DDeviceCreate [DEBUG EVENT] 07-30-2011 @ 05:52:05 # GUI initialized. [DEBUG EVENT] 07-30-2011 @ 05:52:05 # Creating renderer wrapper... [DEBUG EVENT] 07-30-2011 @ 05:52:05 # Loading font texture... [DEBUG EVENT] 07-30-2011 @ 05:52:05 # Font texture load successful! [DEBUG EVENT] 07-30-2011 @ 05:52:05 # Font data load successful! [DEBUG EVENT] 07-30-2011 @ 05:52:06 # CProxyDirect3DDevice9::Reset [DEBUG EVENT] 07-30-2011 @ 05:52:06 # CDirect3DEvents9::OnInvalidate [DEBUG EVENT] 07-30-2011 @ 05:52:06 # CDirect3DEvents9::OnRestore [DEBUG EVENT] 07-30-2011 @ 05:52:34 # CProxyDirect3DDevice9::Reset [DEBUG EVENT] 07-30-2011 @ 05:52:34 # CDirect3DEvents9::OnInvalidate [DEBUG EVENT] 07-30-2011 @ 05:52:34 # CDirect3DEvents9::OnRestore
  5. When i die in game mta crashes. Please help ------------------ System Information ------------------ Time of this report: 7/30/2011, 05:55:57 Machine name: PC1 Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 3 (2600.xpsp_sp3_qfe.100427-1650) Language: Turkish (Regional Setting: Turkish) System Manufacturer: n/a System Model: n/a BIOS: Award Modular BIOS v6.0 Processor: Intel(R) Pentium(R) 4 CPU 2.66GHz Memory: 1024MB RAM Page File: 632MB used, 1829MB 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: The file ati2dvag.dll is not digitally signed, which means that it has not been tested by Microsoft's Windows Hardware Quality Labs (WHQL). You may be able to get a WHQL logo'd driver from the hardware manufacturer. 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: ATI Radeon 9550 / X1050 Series Manufacturer: ATI Technologies Inc. Chip type: ATI Radeon Graphics Processor AGP (0x4153) DAC type: Internal DAC(400MHz) Device Key: Enum\PCI\VEN_1002&DEV_4153&SUBSYS_0200174B&REV_00 Display Memory: 256.0 MB Current Mode: 1024 x 768 (32 bit) (75Hz) Monitor: Tak ve Kullan Monitör Monitor Max Res: 1600,1200 Driver Name: ati2dvag.dll Driver Version: 6.14.0010.6925 (English) DDI Version: 9 (or higher) Driver Attributes: Final Retail Driver Date/Size: 2/11/2010 07:45:14, 325120 bytes WHQL Logo'd: No WHQL Date Stamp: None VDD: YOK Mini VDD: ati2mtag.sys Mini VDD Date: 2/11/2010 10:38:10, 3565056 bytes Device Identifier: {D7B71EE2-0213-11CF-F66F-0A22A1C2CB35} Vendor ID: 0x1002 Device ID: 0x4153 SubSys ID: 0x0200174B Revision ID: 0x0000 Revision ID: 0x0000 Video Accel: ModeMPEG2_C ModeMPEG2_D ModeWMV8_B ModeWMV8_A ModeWMV9_B ModeWMV9_A 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 {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 Registry: OK DDraw Status: Enabled D3D Status: Enabled AGP Status: Enabled DDraw Test Result: Not run D3D7 Test Result: Not run D3D8 Test Result: Not run D3D9 Test Result: Not run ------------- Sound Devices ------------- Description: SoundMAX Digital Audio Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: PCI\VEN_1039&DEV_7012&SUBSYS_80B01043&REV_A0 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: smwdm.sys Driver Version: 5.12.0001.3533 (English) Driver Attributes: Final Retail WHQL Logo'd: Yes Date and Size: 12/5/2002 11:39:56, 534976 bytes Other Files: Driver Provider: Analog Devices HW Accel Level: Full Cap Flags: 0xB5B Min/Max Sample Rate: 8000, 48000 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 Registry: OK Sound Test Result: Not run --------------------- Sound Capture Devices --------------------- Description: SoundMAX Digital Audio Default Sound Capture: Yes Default Voice Capture: Yes Driver Name: smwdm.sys Driver Version: 5.12.0001.3533 (English) Driver Attributes: Final Retail Date and Size: 12/5/2002 11:39:56, 534976 bytes Cap Flags: 0x41 Format Flags: 0xCCC ----------- 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 SoundMAX Digital Audio, Software (Kernel Mode), Output, DLS, Internal Microsoft Ses E Microsoft GS Wavetable SW Synth [benzetimli], Hardware (Not Kernel Mode), Output, No DLS, Internal Registry: OK Test Result: Not run ------------------- DirectInput Devices ------------------- Device Name: Fare Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Klavye Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Wired Keyboard 600 Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x045E, 0x0750 FF Driver: n/a Device Name: Wired Keyboard 600 Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x045E, 0x0750 FF Driver: n/a Device Name: USB Device Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x09DA, 0x054F FF Driver: n/a Device Name: USB Device Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x09DA, 0x054F FF Driver: n/a Device Name: USB Device Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x09DA, 0x054F FF Driver: n/a Poll w/ Interrupt: No Registry: OK ----------- USB Devices ----------- + USB Kök Hub | Vendor/Product ID: 0x1039, 0x7001 | Matching Device ID: usb\root_hub | Service: usbhub | Driver: usbhub.sys, 4/15/2008 15:00:00, 59520 bytes | Driver: usbd.sys, 4/15/2008 15:00:00, 4736 bytes ---------------- Gameport Devices ---------------- + PCI standart ISA köprüsü | Location: PCI veriyolu 0, ayg| Matching Device ID: pci\cc_0601 | Service: isapnp | Driver: isapnp.sys, 4/15/2008 15:00:00, 37376 bytes | +-+ Standart Oyun Ba| | Matching Device ID: *pnpb02f | | Service: gameenum | | Driver: gameenum.sys, 4/13/2008 14:45:30, 10624 bytes ------------ PS/2 Devices ------------ + Standard 101/102 Tu| Matching Device ID: *pnp0303 | Service: i8042prt | Driver: i8042prt.sys, 4/15/2008 15:00:00, 51840 bytes | Driver: kbdclass.sys, 4/14/2008 09:40:52, 24704 bytes | + HID Klavye Ayg| Vendor/Product ID: 0x045E, 0x0750 | Matching Device ID: hid_device_system_keyboard | Service: kbdhid | Driver: kbdhid.sys, 4/14/2008 09:40:52, 14592 bytes | Driver: kbdclass.sys, 4/14/2008 09:40:52, 24704 bytes | + HID Klavye Ayg| Vendor/Product ID: 0x09DA, 0x054F | Matching Device ID: hid_device_system_keyboard | Service: kbdhid | Driver: kbdhid.sys, 4/14/2008 09:40:52, 14592 bytes | Driver: kbdclass.sys, 4/14/2008 09:40:52, 24704 bytes | + Terminal Server Klavye Sürücüsü | Matching Device ID: root\rdp_kbd | Upper Filters: kbdclass | Service: TermDD | Driver: termdd.sys, 4/14/2008 10:01:18, 40840 bytes | Driver: kbdclass.sys, 4/14/2008 09:40:52, 24704 bytes | + HID uyumlu fare | Vendor/Product ID: 0x09DA, 0x054F | Matching Device ID: hid_device_system_mouse | Service: mouhid | Driver: mouclass.sys, 4/14/2008 09:33:22, 23168 bytes | Driver: mouhid.sys, 11/21/2001 20:12:02, 12160 bytes | + HID uyumlu fare | Vendor/Product ID: 0x15D9, 0x0A41 | Matching Device ID: hid_device_system_mouse | Service: mouhid | Driver: mouclass.sys, 4/14/2008 09:33:22, 23168 bytes | Driver: mouhid.sys, 11/21/2001 20:12:02, 12160 bytes | + Terminal Server Fare Sürücüsü | Matching Device ID: root\rdp_mou | Upper Filters: mouclass
  6. gokalpfirat

    HELP

    Change your map folder name to " race-mapname " . Note: Withous "
  7. local x,y,z = getElementPosition(door) function onResourceStart() door = createObject(3095,1279.9134521484,-2054.0205078125,62.628402709961,0,271.07666015625,0) end addEventHandler("onResourceStart", resourceRoot, onResourceStart) function move(thePlayer,cmd) if ( z = 62.628402709961 ) then moveObject ( door, 10000, x, y, z + 10 ) else outputChatBox("Door is already open",thePlayer,0,255,0,true) end end addCommandHandler ( "dooropen", move) function movez(thePlayer,cmd) if ( z = 72.628402709961 ) then moveObject ( door, 10000, x, y, z - 10 ) outputChatBox("Door is already closed",thePlayer,0,255,0,true) else end end addCommandHandler ( "doorclose", movez) Can you fix it
  8. You use 2 if and 1 function in server-side but there is 2 "end " but i fixed it Thanks for all everyone. Thanks too much to Arran and JR10 to fix my script bugs. Edit: I use this script only in my race map. There can be problems to in race map?
  9. @JR10 But random is defined in server-side and i use random in client-side to i think it will give error:)
  10. Server-Side function randomize() alive = getAlivePlayers() if (#alive > 0) then random = math.random(#alive) random = alive[random] g_V = getPedOccupiedVehicle(random) if g_V then triggerClientEvent ( "onBomb", getRootElement()) outputChatBox("Airstrike is coming to"..getPlayerName(random), getRootElement(), 0, 255, 0, false) end end setTimer(randomize, 30000, 0) Client Side function bomb() x, y, z = getElementPosition(g_V) rotX,rotY,rotZ = getElementRotation(g_V) target = random createProjectile(target, 21, x,y,z + 3, 200,target,rotX,rotY,rotZ) end addEvent("onBomb",true) addEventHandler("onBomb",getRootElement(),bomb) Why this code doesnt works can you fix it?
  11. JR10, why dont he use if (weapon == 0) then
  12. Thanks but it will write name of an alive player because getRandomPlayer() select a random from all dead and alive players i think.
  13. g_Root = getRootElement() function randomize () alive = getAlivePlayers() randomP = math.random(#alive) outputChatBox("Airstrike is coming to"..getPlayerName(randomP)"and coming to"..getElementPosition(randomP),g_Root,0,255,0,true) end setTimer(randomize,60000,1) I will get random player forum Alive players but dont work.
  14. Good topic if links broken i will give new link if moderators allow.
  15. I fixed it but i have got 2 problems. I use this script on my race map but when map starts object doesnt creates. The other problem is when player die object is staying where player dies. How can i fix 2 bugs. P.s: I use onMapStarting too
  16. Aibo when map starts it creates object but i cant see others rocket objects why?
  17. Thanks for everything i fix it myself 2 hours ago but now i have got problem with objects look at object topic
  18. gokalpfirat

    Object

    function onResourceStart() vehicle = getPedOccupiedVehicle(g_P) x,y,z = getElementPosition(vehicle) rx,ry,rz = getVehicleRotation(vehicle) rocket = createObject(3786,x,y,z + 1.2,rx,ry,rz) attachElements(rocket,g_P,0,0,2,rx,ry,rz) end addEventHandler("onClientResourceStart", resourceRoot, onResourceStart) I create this script but my rocket dont look where car looks.
  19. Thanks Aibo there is only one problem left. When car is moving when you fire it will blows you because it fires your near. How can i fix it?
×
×
  • Create New...