PL/Weapons: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Drobne poprawki)
No edit summary
Line 1: Line 1:
Każda broń ma swój identyfikator (liczbowy). Owy identyfikator jest wykorzystywany przy użyciu funkcji takich jak chociażby [[getWeaponNameFromID]].
'''Funkcje do skryptów, które proszą o ID broni potrzebują liczbę całkowitą, która odnosi się do listy ID broni z GTASA. Są one wymienione poniżej.'''
 
<br>
''Informacja: W nawiasach są podane maksymalne ilości nabojów w serii.''
{|class="wikitable" style="text-align:center; margin: 1em auto 1em auto;"
|-
| width="230" style="background:#8f8f8f;"|
! width="150" scope="col" style="background:#8f8f8f;"| Broń
! width="50" scope="col" style="background:#8f8f8f;"| ID
! width="70" scope="col" style="background:#8f8f8f;"| Klips
! width="70" scope="col" style="background:#8f8f8f;"| ID modelu
! width="300" scope="col" style="background:#8f8f8f;"| Wspólny slot amunicji?
|-
! rowspan="2" scope="row" style="background:#cfcfcf;"| Slot 0: Brak broni
|style="background:#cfcfcf;"|Pięść
|style="background:#cfcfcf;"|0
|style="background:#cfcfcf;" align="center" scope="col" |
|style="background:#cfcfcf;"|
|style="background:#cfcfcf;" rowspan="2" |
|-
|style="background:#cfcfcf;"|Kastet
|style="background:#cfcfcf;"|1
|style="background:#cfcfcf;"|
|style="background:#cfcfcf;"|331
|-
! rowspan="8" scope="row" style="background:#efefef;"| Slot 1: Wręcz
|style="background:#efefef;"|Kij golfowy
|style="background:#efefef;"|2
|style="background:#efefef;"|
|style="background:#efefef;"|333
|rowspan="8" style="background:#efefef;" |
|-
|style="background:#efefef;"|Pałka policyjna
|style="background:#efefef;"|3
|style="background:#efefef;"|
|style="background:#efefef;"|334
|-
|style="background:#efefef;"|Nóż
|style="background:#efefef;"|4
|style="background:#efefef;"|
|style="background:#efefef;"|335
|-
|style="background:#efefef;"|Kij do bejsbola
|style="background:#efefef;"|5
|style="background:#efefef;"|
|style="background:#efefef;"|336
|-
|style="background:#efefef;"|Łopata
|style="background:#efefef;"|6
|style="background:#efefef;"|
|style="background:#efefef;"|337
|-
|style="background:#efefef;"|Kij bilardowy
|style="background:#efefef;"|7
|style="background:#efefef;"|
|style="background:#efefef;"|338
|-
|style="background:#efefef;"|Katana
|style="background:#efefef;"|8
|style="background:#efefef;"|
|style="background:#efefef;"|339
|-
|style="background:#efefef;"|Piła mechaniczna
|style="background:#efefef;"|9
|style="background:#efefef;"|
|style="background:#efefef;"|341
|-
! rowspan="3" scope="row" style="background:#cfcfcf;"| Slot 2: Pistolety
|style="background:#cfcfcf;"|Pistolet
|style="background:#cfcfcf;"|22
|style="background:#cfcfcf;"|17 (34)
|style="background:#cfcfcf;"|346
|rowspan="3" style="background:#cfcfcf;" | '''Nie'''<br/>''Zmiana pistoletu resetuje 2 slot amunicji''
|-
|style="background:#cfcfcf;"|Pistolet z tłumikiem
|style="background:#cfcfcf;"|23
|style="background:#cfcfcf;"|17
|style="background:#cfcfcf;"|347
|-
|style="background:#cfcfcf;"|Desert Eagle
|style="background:#cfcfcf;"|24
|style="background:#cfcfcf;"|7
|style="background:#cfcfcf;"|348
|-
! rowspan="3" scope="row" style="background:#efefef;"| Slot 3: Dubeltówki
|style="background:#efefef;"|Strzelba
|style="background:#efefef;"|25
|style="background:#efefef;"|1
|style="background:#efefef;"|349
|rowspan="3" style="background:#efefef;" | Tak
|-
|style="background:#efefef;"|Obrzyn
|style="background:#efefef;"|26
|style="background:#efefef;"|2 (4)
|style="background:#efefef;"|350
|-
|style="background:#efefef;"|SPAZ-12 Bojowa strzelba
|style="background:#efefef;"|27
|style="background:#efefef;"|7
|style="background:#efefef;"|351
|-
! rowspan="3" scope="row" style="background:#cfcfcf;"| Slot 4: Pistolety maszynowe
|style="background:#cfcfcf;"|Uzi
|style="background:#cfcfcf;"|28
|style="background:#cfcfcf;"|50 (100)
|style="background:#cfcfcf;"|352
|rowspan="3" style="background:#cfcfcf;" | Tak
|-
|style="background:#cfcfcf;"|MP5
|style="background:#cfcfcf;"|29
|style="background:#cfcfcf;"|30
|style="background:#cfcfcf;"|353
|-
|style="background:#cfcfcf;"|TEC-9
|style="background:#cfcfcf;"|32
|style="background:#cfcfcf;"|50 (100)
|style="background:#cfcfcf;"|372
|-
! rowspan="2" scope="row" style="background:#efefef;"| Slot 5: Karabiny
|style="background:#efefef;"|AK-47
|style="background:#efefef;"|30
|style="background:#efefef;"|30
|style="background:#efefef;"|355
|rowspan="2" style="background:#efefef;" | Tak
|-
|style="background:#efefef;"|M4
|style="background:#efefef;"|31
|style="background:#efefef;"|50
|style="background:#efefef;"|356
|-
! rowspan="2" cope="row" style="background:#cfcfcf;"| Slot 6: Strzelby
|style="background:#cfcfcf;"|Country Rifle
|style="background:#cfcfcf;"|33
|style="background:#cfcfcf;"|1
|style="background:#cfcfcf;"|357
|rowspan="2" style="background:#cfcfcf;" | '''Nie'''<br/>''Zmiana strzelby resetuje 6 slot amunicji''
|-
|style="background:#cfcfcf;"|Karabin snajperski
|style="background:#cfcfcf;"|34
|style="background:#cfcfcf;"|1
|style="background:#cfcfcf;"|358
|-
! rowspan="4" scope="row" style="background:#efefef;"| Slot 7: Ciężkie bronie
|style="background:#efefef;"|Wyrzutnia RPG
|style="background:#efefef;"|35
|style="background:#efefef;"|1
|style="background:#efefef;"|359
|rowspan="4" style="background:#efefef;" | '''Nie'''<br/>''Zmiana ciężkiej broni resetuje 7 slot amunicji''
|-
|style="background:#efefef;"|Heat-Seeking RPG
|style="background:#efefef;"|36
|style="background:#efefef;"|1
|style="background:#efefef;"|360
|-
|style="background:#efefef;"|Miotacz ognia
|style="background:#efefef;"|37
|style="background:#efefef;"|50
|style="background:#efefef;"|361
|-
|style="background:#efefef;"|Minigun
|style="background:#efefef;"|38
|style="background:#efefef;"|500
|style="background:#efefef;"|362
|-
! rowspan="4" scope="row" style="background:#cfcfcf;"| Slot 8: Rzucane
|style="background:#cfcfcf;"|Granat
|style="background:#cfcfcf;"|16
|style="background:#cfcfcf;"|1
|style="background:#cfcfcf;"|342
|rowspan="4" style="background:#cfcfcf;" | '''Nie'''<br/>''Zmiana broni rzucanej resetuje 8 slot amunicji''
|-
|style="background:#cfcfcf;"|Gaz łzawiący
|style="background:#cfcfcf;"|17
|style="background:#cfcfcf;"|1
|style="background:#cfcfcf;"|343
|-
|style="background:#cfcfcf;"|Koktajle Mołotowa
|style="background:#cfcfcf;"|18
|style="background:#cfcfcf;"|1
|style="background:#cfcfcf;"|344
|-
|style="background:#cfcfcf;"|Ładunki wybuchowe
|style="background:#cfcfcf;"|39
|style="background:#cfcfcf;"|1
|style="background:#cfcfcf;"|363
|-
! rowspan="3" scope="row" style="background:#efefef;"| Slot 9: Specialne 1
|style="background:#efefef;"|Spray
|style="background:#efefef;"|41
|style="background:#efefef;"|500
|style="background:#efefef;"|365
|rowspan="3" style="background:#efefef;" | '''Nie'''<br/>''Zmiana broni specjalnej resetuje 9 slot amunicji''
|-
|style="background:#efefef;"|Gaśnica
|style="background:#efefef;"|42
|style="background:#efefef;"|500
|style="background:#efefef;"|366
|-
|style="background:#efefef;"|Kamera
|style="background:#efefef;"|43
|style="background:#efefef;"|36
|style="background:#efefef;"|367
|-
! rowspan="5" scope="row" style="background:#cfcfcf;"| Slot 10: Prezenty/Inne
|style="background:#cfcfcf;"|Długie fioletowe Dildo
|style="background:#cfcfcf;"|10
|style="background:#cfcfcf;"|
|style="background:#cfcfcf;"|321
|rowspan="5" style="background:#cfcfcf;" |
|-
|style="background:#cfcfcf;"|Krótkie Dildo
|style="background:#cfcfcf;"|11
|style="background:#cfcfcf;"|
|style="background:#cfcfcf;"|322
|-
|style="background:#cfcfcf;"|Wibrator
|style="background:#cfcfcf;"|12
|style="background:#cfcfcf;"|
|style="background:#cfcfcf;"|323
|-
|style="background:#cfcfcf;"|Kwiaty
|style="background:#cfcfcf;"|14
|style="background:#cfcfcf;"|
|style="background:#cfcfcf;"|325
|-
|style="background:#cfcfcf;"|Cane
|style="background:#cfcfcf;"|15
|style="background:#cfcfcf;"|
|style="background:#cfcfcf;"|326
|-
! rowspan="3" scope="row" style="background:#efefef;"| Slot 11: Specialne 2
|style="background:#efefef;"|Gogle noktowizyjne
|style="background:#efefef;"|44
|style="background:#efefef;"|
|style="background:#efefef;"|368
|rowspan="3" style="background:#efefef;" |
|-
|style="background:#efefef;"|Gogle na podczerwień
|style="background:#efefef;"|45
|style="background:#efefef;"|
|style="background:#efefef;"|369
|-
|style="background:#efefef;"|Spadochron
|style="background:#efefef;"|46
|style="background:#efefef;"|
|style="background:#efefef;"|371
|-
! rowspan="1" scope="row" style="background:#cfcfcf;"| Slot 12: Detonator
|style="background:#cfcfcf;"|Detonator
|style="background:#cfcfcf;"|40
|style="background:#cfcfcf;"|
|style="background:#cfcfcf;"|364
|rowspan="1" style="background:#cfcfcf;" |
|}


*'''Slot 0: Bez broni'''
==Funkcje klienta==
**'''0:''' Pięści
{{Client_weapon_functions}}
**'''1:''' Kastet - Model ID: 331
==Funkcje serwera==
<br>
{{Weapon functions}}
*'''Slot 1 : Broń biała'''
**'''2:''' Kij golfowy - Model ID: 333
**'''3:''' Pałka policyjna - Model ID: 334
**'''4:''' Nóż  - Model ID: 335
**'''5:''' Kij bejsbolowy - Model ID: 336
**'''6:''' Łopata - Model ID: 337
**'''7:''' Kij bilardowy  - Model ID: 338
**'''8:''' Katana - Model ID: 339
**'''9:''' Piła łańcuchowa - Model ID: 341
**'''15:''' Laska - Model ID: 326
<br>
*'''Slot 2: Pistolety'''
**'''22:''' Colt 45 (17, dual 34) - Model ID: 346
**'''23:''' Pistolet z tłumikiem (17) - Model ID: 347
**'''24:''' Desert Eagle (7) - Model ID: 348
<br>
*'''Slot 3: Strzelby'''
**'''25:''' Strzelba (1) - Model ID: 349
**'''26:''' Obrzyn (2, dual 4) - Model ID: 350
**'''27:''' SPAZ-12 (7) - Model ID: 351
<br>
*'''Slot 4: Pistolety maszynowe'''
**'''28:''' Uzi (50, dual 100) - Model ID: 352
**'''29:''' MP5 (30) - Model ID: 353
**'''32:''' TEC-9 (50, dual 100) - Model ID: 372
<br>
*'''Slot 5: Karabiny automatyczne'''
**'''30:''' AK-47 (30) - Model ID: 355
**'''31:''' M4 (50) - Model ID: 356
<br>
*'''Slot 6: Karabiny snajperskie'''
**'''33:''' Strzelba myśliwska (1) - Model ID: 357
**'''34:''' Karabin snajperski (1) - Model ID: 358
<br>
*'''Slot 7: Broń ciężka'''
**'''35:''' Wyrzutnia rakiet (1) - Model ID: 359
**'''36:''' Wyrzutnia rakiet RPG (1) - Model ID: 360
**'''37:''' Miotacz ognia (50) - Model ID: 361
**'''38:''' Minigun (500) - Model ID: 362
<br>
*'''Slot 8: Broń "rzucana"'''
**'''16:''' Granat (1) - Model ID: 342
**'''17:''' Gaz łzawiący (1) - Model ID: 343
**'''18:''' Koktajle Mołotowa (1) - Model ID: 344
**'''39:''' Pakunki zdalnie detonowane (1) - Model ID: 363
<br>
*'''Slot 9: Specjalne'''
**'''41:''' Spray (500) - Model ID: 365
**'''42:''' Gaśnica (500) - Model ID: 366
**'''43:''' Aparat (36) - Model ID: 367
<br>
*'''Slot 10: Inne'''
**'''10:''' Długi fioletowy wibrator - Model ID: 321
**'''11:''' Krótki wibrator - Model ID: 322
**'''12:''' Wibrator - Model ID: 323
**'''14:''' Kwiaty- Model ID: 325
<br>
*'''Slot 11: Specjalne 2'''
**'''44:''' Noktowizor - Model ID: 368
**'''45:''' Gogle na podczerwień - Model ID: 369
**'''46:''' Parachute - Model ID: 371
<br>
*'''Slot 12: Detonator'''
**'''40''' Detonator ładunków (o id 39) - Model ID: 364


==Zobacz też==
[[Category:translated/ID Lists]]
[[id|PL/ID Lists]]
[[it:Armi]]
[[ru:Weapons]]
[[de:Waffen]]

Revision as of 17:34, 26 January 2015

Funkcje do skryptów, które proszą o ID broni potrzebują liczbę całkowitą, która odnosi się do listy ID broni z GTASA. Są one wymienione poniżej.

Broń ID Klips ID modelu Wspólny slot amunicji?
Slot 0: Brak broni Pięść 0
Kastet 1 331
Slot 1: Wręcz Kij golfowy 2 333
Pałka policyjna 3 334
Nóż 4 335
Kij do bejsbola 5 336
Łopata 6 337
Kij bilardowy 7 338
Katana 8 339
Piła mechaniczna 9 341
Slot 2: Pistolety Pistolet 22 17 (34) 346 Nie
Zmiana pistoletu resetuje 2 slot amunicji
Pistolet z tłumikiem 23 17 347
Desert Eagle 24 7 348
Slot 3: Dubeltówki Strzelba 25 1 349 Tak
Obrzyn 26 2 (4) 350
SPAZ-12 Bojowa strzelba 27 7 351
Slot 4: Pistolety maszynowe Uzi 28 50 (100) 352 Tak
MP5 29 30 353
TEC-9 32 50 (100) 372
Slot 5: Karabiny AK-47 30 30 355 Tak
M4 31 50 356
Slot 6: Strzelby Country Rifle 33 1 357 Nie
Zmiana strzelby resetuje 6 slot amunicji
Karabin snajperski 34 1 358
Slot 7: Ciężkie bronie Wyrzutnia RPG 35 1 359 Nie
Zmiana ciężkiej broni resetuje 7 slot amunicji
Heat-Seeking RPG 36 1 360
Miotacz ognia 37 50 361
Minigun 38 500 362
Slot 8: Rzucane Granat 16 1 342 Nie
Zmiana broni rzucanej resetuje 8 slot amunicji
Gaz łzawiący 17 1 343
Koktajle Mołotowa 18 1 344
Ładunki wybuchowe 39 1 363
Slot 9: Specialne 1 Spray 41 500 365 Nie
Zmiana broni specjalnej resetuje 9 slot amunicji
Gaśnica 42 500 366
Kamera 43 36 367
Slot 10: Prezenty/Inne Długie fioletowe Dildo 10 321
Krótkie Dildo 11 322
Wibrator 12 323
Kwiaty 14 325
Cane 15 326
Slot 11: Specialne 2 Gogle noktowizyjne 44 368
Gogle na podczerwień 45 369
Spadochron 46 371
Slot 12: Detonator Detonator 40 364

Funkcje klienta

Shared



Funkcje serwera

Shared