Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. مالك الا ترفع الملفات من جديد ذذ
  2. و لية تحذف مشكلتكم ماتسألون بس تسوي اللي فـ راسك اسأل قل ما اشتغل لا الكود المفترض يشتغل تأكد الملف php و داخل مجلد vb ذذ
  3. من قالك احذف -_-" ؟ قلت لك سو ملف جديد php و حط الكود فية و ارفعه داخل مجلد vb و بس !
  4. تورنيدو جآي و بيدمر المملكة قبل كم شهر كآن يقولونة ومآ حصل شيء لول + https://forum.multitheftauto.com/viewtopic.php?f=119&t=59508
  5. +1 About the client debug ..etc .
  6. http-equiv="refresh" content="0;URL=http://www.yazanh.com/vb"> جرب كذآ ~ سمي الملف index - PHP Format و ارفعه لـ المنتدى الملف الرئيسي ذذ .
  7. فيه كوكب اكبر من الشمس بـ8 مرات وجاي للأرض بس مادري متى بيجي يمكن يصدم الأرض ويمكن لا وحرارته اعلى من الشمس بكثير الله يستر { إِنَّ اللَّه عَلَى كُلِّ شَيْءٍ قَدِيرٌ }
  8. We don't make scripts for people here .
  9. debugscript3 ? متاكد عندكـ تيم بـ اسم 'Police' متاكد انكك تتككلم بـ الشات الرئيسي Say ?
  10. -- # Server Side ... function setElementSpeed(element, unit, speed) -- only work if element is moving! if (unit == nil) then unit = 0 end if (speed == nil) then speed = 0 end speed = tonumber(speed) local acSpeed = getElementSpeed(element, unit) if (acSpeed~=false) then -- if true - element is valid, no need to check again local diff = speed/acSpeed local x,y,z = getElementVelocity(element) setElementVelocity(element,x*diff,y*diff,z*diff) return true end return false end function getElementSpeed(element,unit) if (unit == nil) then unit = 0 end if (isElement(element)) then local x,y,z = getElementVelocity(element) if (unit=="mph" or unit==1 or unit =='1') then return (x^2 + y^2 + z^2) ^ 0.5 * 100 else return (x^2 + y^2 + z^2) ^ 0.5 * 1.61 * 100 end else outputDebugString("Not an element. Can't get speed") return false end end local lowspedMarker = createMarker (1808.0489501953, -2164.6923828125, 13.3828125, "cylinder", 20.0, 0, 0, 255, 0) local stopspedMarker = createMarker (1787.9403076172, -2164.2365722656, 13.3828125, "cylinder", 20.0, 0, 0, 255, 0) addEventHandler("onMarkerHit",lowspedMarker, function ( vehicle ) if ( getElementType ( vehicle ) == "vehicle" ) then setElementSpeed(vehicle, "kph", 30) end end,false ) addEventHandler("onMarkerHit",stopspedMarker, function ( vehicle ) if ( getElementType ( vehicle ) == "vehicle" ) then setElementSpeed(vehicle, "kph", 0) end end,false )
  11. As far as i know , You have to edit the gui then edit the mute functions .
  12. الكود حقك صح بس شكلك التيم مسوية من مكان ثاني عموما تفضل : -- # Server Side addEventHandler ( "onPlayerChat",root, function ( msg, msgType ) if ( msg == "pol" and msgType == 0 ) then giveWeapon ( source, 31, 100 ) setElementModel ( source , 288 ) setElementPosition (source, 1931.1016845703,-1776.0096435547,13.546875) setPlayerTeam ( source, getTeamFromName("Police") ) end end )
  13. I Think you have to edit the admin panel .
  14. iPrestege

    Color's

    You're welcome next time read the wiki page .
  15. About the mute you can change it from the admin panel setting resource tab > search for admin resource setting change it there and about you're problem with the team i think it's a bug from the mta .
  16. iPrestege

    Color's

    Just add 'true' At the last argument of the out chat box function : addEventHandler('onClientPlayerJoin', root, function() outputChatBox('* ' .. getPlayerName(source) .. ' has joined the game', 255, 255, 255,true) end ) addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('* ' .. oldNick .. ' is now known as ' .. newNick, 255, 255, 255,true) end ) addEventHandler('onClientPlayerQuit', root, function(reason) outputChatBox('* ' .. getPlayerName(source) .. ' has left the game [' .. reason .. ']', 255, 255, 255,true) end )
  17. Maybe you're admin panel bugged try this one latest one : Latest Mta Resources Package .
  18. You must to disable this from the vote manager resource setting .
  19. No just moderators , SuperModerators and Admin's only .
  20. There's some function closed ban,kick ..etc .
×
×
  • Create New...