28.09.2012, 21:28
Код:
new weapons[13][2]; for (new i = 0; i < 13; i++) { GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]); }
Source: https://sampwiki.blast.hk/wiki/GetPlayerWeaponData
Then check this out
https://sampwiki.blast.hk/wiki/Weapons
And use
Код:
if(weapons[input the weapon slot here][0] == weapon id) { //do something }