SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Bronie

Katalog

Bronie

Wszystkie bronie San Andreas z ID, nazwą, modelem i slotem. Render każdej broni prosto z gry.

Jak używać ID

ID broni podajesz w giveWeapon, takeWeapon, setWeaponAmmo i wszędzie, gdzie API pyta o broń. Nazwę z ID daje getWeaponNameFromID, a odwrotnie getWeaponIDFromName. Gracz trzyma naraz jedną broń z każdego slotu: nowa broń z zajętego slotu zastępuje starą.

addCommandHandler("ak", function(player)
    giveWeapon(player, 30, 120, true)   -- AK-47, 120 naboi, od razu w ręce
end)

Model to ID obiektu broni w świecie gry, potrzebny np. w createPickup albo createObject. Do dawania broni zawsze używaj ID broni, nie modelu.

Wszystkie bronie

Wpisz ID, nazwę albo slot, żeby zawęzić listę.

Slot 0: Bez broni 1

  • Brass Knuckles
    1Brass Knucklesmodel 331

Slot 1: Broń biała 8

  • Golf Club
    2Golf Clubmodel 333
  • Nightstick
    3Nightstickmodel 334
  • Knife
    4Knifemodel 335
  • Baseball Bat
    5Baseball Batmodel 336
  • Shovel
    6Shovelmodel 337
  • Pool Cue
    7Pool Cuemodel 338
  • Katana
    8Katanamodel 339
  • Chainsaw
    9Chainsawmodel 341

Slot 2: Pistolety 3

  • Pistol
    22Pistolmodel 346
  • Silenced Pistol
    23Silenced Pistolmodel 347
  • Desert Eagle
    24Desert Eaglemodel 348

Slot 3: Strzelby 3

  • Shotgun
    25Shotgunmodel 349
  • Sawn-off Shotgun
    26Sawn-off Shotgunmodel 350
  • Combat Shotgun
    27Combat Shotgunmodel 351

Slot 4: Pistolety maszynowe 3

  • Micro SMG
    28Micro SMGmodel 352
  • MP5
    29MP5model 353
  • Tec-9
    32Tec-9model 372

Slot 5: Karabiny szturmowe 2

  • AK-47
    30AK-47model 355
  • M4
    31M4model 356

Slot 6: Karabiny 2

  • Country Rifle
    33Country Riflemodel 357
  • Sniper Rifle
    34Sniper Riflemodel 358

Slot 7: Ciężka broń 4

  • Rocket Launcher
    35Rocket Launchermodel 359
  • Rocket Launcher HS
    36Rocket Launcher HSmodel 360
  • Flamethrower
    37Flamethrowermodel 361
  • Minigun
    38Minigunmodel 362

Slot 8: Rzucane 4

  • Grenade
    16Grenademodel 342
  • Teargas
    17Teargasmodel 343
  • Molotov Cocktail
    18Molotov Cocktailmodel 344
  • Satchel Charge
    39Satchel Chargemodel 363

Slot 9: Specjalne 3

  • Spraycan
    41Spraycanmodel 365
  • Fire Extinguisher
    42Fire Extinguishermodel 366
  • Camera
    43Cameramodel 367

Slot 10: Prezenty 5

  • Purple Dildo
    10Purple Dildomodel 321
  • Dildo
    11Dildomodel 322
  • Vibrator
    12Vibratormodel 323
  • Flowers
    14Flowersmodel 325
  • Cane
    15Canemodel 326

Slot 11: Wyposażenie 3

  • Night Vision Goggles
    44Night Vision Gogglesmodel 368
  • Thermal Goggles
    45Thermal Gogglesmodel 369
  • Parachute
    46Parachutemodel 371

Slot 12: Detonator 1

  • Detonator
    40Detonatormodel 364