Jump to content

AhmadQTR

Members
  • Posts

    451
  • Joined

  • Last visited

Everything posted by AhmadQTR

  1. Maybe this helps you http://gamerxserver.com/forum/index.php?topic=336.0
  2. addEvent("moneyy",true) addEventHandler("moneyy",root, function() local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 1000) then takePlayerMoney(source, 1000) setPedAnimation(source, "BAR", "dnk_stndm_loop") setTimer(setPedAnimation,5000,1,source) else outputChatBox("You don't have $1000 to buy This !!", source, 255, 0, 0, true) end end )
  3. bindKey ( thePlayer, "l", "up", joinLang )
  4. Can you put the script or tell me the function name?
  5. What you mean? createObject ?
  6. unbindKey(thePlayer, "l") bindKey(thePlayer, "l", "both", chatbox Ad)
  7. I have a laptop but the graphics Card id disabled I will fix this and Provide MTADIAG He talked to you?
  8. Type in console aclrequest allow RESOURCENAME all Change RESOURCENAME to the resource name.
  9. Because it have limits , i think.
  10. Nice map! Can you please tell me you use which screen recorder and which mapping tool? thanks.
  11. AhmadQTR

    Object ID

    Just press on World Item Icon and right click on the object and it will be copyed. It's down left of the screen it's like Aim Icon.
  12. function onEnter (vehicle, seat, jacker) if ( getElementModel(vehicle) == 432) then destroyElement (vehicle) outputChatBox ("#ff0000This vehicle is forbidden.",source ,255 ,255 ,255 ,true) end end addEventHandler("onVehicleRespawn", root, onEnter )
  13. YES! YES, I do! Nice! But how do I put this in the script? local url = "http://www.di.fm/mp3/hardstyle.pls" function playTheSound(x, y, z, vehicle) sound = playSound3D(url, x, y, z) setSoundMaxDistance (url,20) if (isElement(vehicle)) then attachElements(sound, vehicle) end end addEvent("playTheSound", true) addEventHandler("playTheSound", root, playTheSound) function stopTheSound(x, y, z) stopSound(sound) end addEvent("stopTheSound", true) addEventHandler("stopTheSound", root, stopTheSound) -- 181 FM: [url=http://www.181.fm/winamp.pls?station=18]http://www.181.fm/winamp.pls?station=18[/url] ... 0(Top%2040)&file=181-power.pls -- The Hitz channel: [url=http://www.in.com/music/radio/977-the-h]http://www.in.com/music/radio/977-the-h[/url] ... el-15.html Just change the 20 to any number you want.
  14. Maybe admin group dosen't have permission to setServerConfigSetting just put the resource in 'Console' group.
  15. بل بل كل هذا بس لانه طلع دبابه؟ فقط استخدم destroyElement
  16. كذا 0.3, 0.2, 0.25, 0.2 0.3, --- (X) هاذي اكس العرض في الشاشة 0.2, --- (Y) هاذي واي الأرتفاع في الشاشة 0.25, --- (Height) هاذه الأرتفاع في حجم الوحة او اليبل 0.2 --- (Width) هاذه العرض في حجم الوحة اول اليبل guiGetScreenSize --- تجيب حجم الشاشة x, y, Height, Width --- يطلع لك الأرقام بهاذه الترتيب مثال function () local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 191,455 local left = screenWidth/245 - windowWidth/100 local top = screenHeight/1.5 - windowHeight/1.5 شوف الي 0.2 و 0.3 هذا relative يجب ان يكون ما بين ال1 و 0
  17. على كفيك جيت و قلت الخطأ من الايدي؟ اقرا الويكي اول بعدين تعال تفلسف weaponID: The ID or name of the weapon you want to set a property of.
×
×
  • Create New...