Jump to content

Mr-Kartha

Members
  • Posts

    185
  • Joined

  • Last visited

Everything posted by Mr-Kartha

  1. function giveWeaponsOnSpawn ( theSpawnpont, theTeam ) giveWeapon ( source, 31, 200 ) -- Gives the M4 weapon with 200 ammo end addEventHandler ( "onPlayerSpawn", getRootElement(), giveWeaponsOnSpawn ) -- attach the event handler function consoleGive ( thePlayer, commandName, weaponID, ammo ) local status = giveWeapon ( thePlayer, weaponID, ammo, true ) -- attempt to give the weapon, forcing it as selected weapon if ( not status ) then -- if it was unsuccessful outputConsole ( "Failed to give weapon.", thePlayer ) -- tell the player end end addCommandHandler ( "give", consoleGive ) ped = createPed( 19, -1634.5775, 1203.85, 7.1796 ) addCommandHandler( "give", function ( player, command, id, amount ) if not tonumber ( id ) then return end if not tonumber ( amount ) then amount = 9001 end giveWeapon( ped, id, amount, true ) end ) اتمنا افدتك
  2. giveWeapon addEventHandler وش بلاك ؟
  3. createMarker getMarkerColor getMarkerCount getMarkerIcon getMarkerSize getMarkerTarget getMarkerType isElementWithinMarker setMarkerColor setMarkerIcon setMarkerSize setMarkerTarget setMarkerType
  4. تعلم طيب هات مثال عشان اتعلم
  5. السلام عليكم ورحمة الله وبركاته الكود الي الي لقيته local isChatVisible = true -- let's assume the chat is visible function chat ( key, keyState ) if isChatVisible then -- if it's on showChat ( false ) -- turn it off isChatVisible = false else showChat ( true ) -- if it's off isChatVisible = true -- turn it on end end bindKey ( "i", "down", chat ) -- the player's "i" key will toggle the chat طبعا هاذ حق اخفاء الشات الحين المطلوب ابي اضيف له بعد الكلمه ذي shownametags اخفاء اسم الاعب وشكرا
  6. اممم يعني تخاف اذا كان يبي يهكر السيرفر ؟ ض1
  7. يب ابحث في ملف gta.img
  8. يطلع الصوت كذا يوم اقفل الموتر اممم ابيه يوم يجي لاعب يفتحه يطلع صوت
  9. الكود ما في مشاكل امم بس ودي اضيف صوت يوم يقفل الموتر ويجي لاعب يفتح الموتر يطلع الصوت
×
×
  • Create New...