Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. iPrestege

    helppp!!!

    If you want a help from me just tell me what's the problem with my code?
  2. اعتقد المحاولة الاولى كانت صعبة بالوظائف الاولى سويتة له ترايقر بس ~ مآفيه مشكلة guiSetVisible showCursor "onClientGUIClick"
  3. السحب وهمي !! كذآ ذذ : -- Client Side -- addEventHandler("onClientGUIClick",Button, function ( ) triggerServerEvent ("TakeMoney",localPlayer) end,false ) -- Server Side -- addEvent("TakeMoney",true) addEventHandler("TakeMoney",root, function ( ) takePlayerMoney ( source,500 ) end ) السحب يكون بـ السالب لو مامعه ~
  4. AdminPanel > Resources > 'freeroam' > settingButton > search for ''SpawnMapOnStart" Return it to false .
  5. -- Client Side -- 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 addEventHandler("onClientRender",getRootElement(), function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if ( vehicle ) then local Speed = getElementSpeed ( vehicle,"kmh" ) if ( Speed >= 180 ) then guiSetVisible(GuiElement,true) end end end ) Replace الاستبدال : GuiElement = النافذهـ اي شيء مسوية ايديتور الكود يوم توصل 180 او اكثر يطلع الالمنت
  6. مآله آي معنى ولا يسوي اي شيء نسخ و لصق؟
  7. You are talking about the meta.xml file now -.- ?? https://forum.multitheftauto.com/viewtopic.php?f=148&t=40809
  8. iPrestege

    car spawer

    Hmm...You want to show the gui for swat team members only?
  9. Of course with out the "META" File the resource won't loaded.
  10. onLogin and Spawn function .
  11. Do you mean you want to check if the player has been logging into the server or not?
  12. Because you forget to add the 'source function' .
  13. addEventHandler("onResourceStart", resourceRoot, function() DonatorsTeam = createTeam ( "Clan Name", 0, 0, 0 ) end) function setDonatorsTeam(player) local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "GroupName" ) ) then setPlayerTeam(player, DonatorsTeam) end end addEventHandler("onPlayerLogin",getRootElement(),setDonatorsTeam) addEventHandler("onPlayerSpawn",getRootElement(),setDonatorsTeam) You're code is wrong change the player to source the player is not defined.
  14. وش قصدك ؟ اي شيء بالروم لآني مافهمتك ?
  15. iPrestege

    helppp!!!

    The second one .
  16. انا عطيتة وظيفة مختصرهـ وكفى . * كل وآحد ورآية اذا انت تبي تعطية ذي الوظآئف عطـهـ الوظآئف مآقلنآ شيء بس لا تجلس تقول خطأ الوظيفة تسوي اللي يبية هو بـ الضبط : ) و بس ~
  17. اوكيهه آنت كل شيء تقولة صح ي ليت ترتاح الحين ( = برب بس انرفع ضغطي على شيء مآ يسوى اصلا ..
×
×
  • Create New...