26.07.2012, 03:37
й possivel limitar a muniзгo de todas as armas?
Sim, apenas trabalhar com esta funзгo.
https://sampwiki.blast.hk/wiki/GetPlayerWeaponData |
//common use: get all weapons and store info in an array containing 13 slots
//first value is weapon id and second is ammo
new weapons[13][2];
for (new i = 0; i < 13; i++)
{
GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]);
}