28.07.2016, 12:30
So, what i basically would like to do is create an enumrator with all weapon names in it, and then a command
/giveweapon [id\name] [weaponid\partofname] [ammo]
Ofcourse for the banned weapons a special restriction needs to be made.
Would this be doable, and would /giveweaponall
/giveweaponall [weaponid\partofname] [ammo] Also be doable in this manner?
/giveweapon [id\name] [weaponid\partofname] [ammo]
Ofcourse for the banned weapons a special restriction needs to be made.
Код:
if(pData[playerid][Admin] < 6 && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "[Error]:You are not authorized to give a player this weapon.");
/giveweaponall [weaponid\partofname] [ammo] Also be doable in this manner?