07.08.2012, 12:18
Do you mean something like this
pawn Код:
public GivePlayerValidWeapon(playerid, weaponid, ammo)
{
if(unlimitedammo == 1)
{
GivePlayerWeapon(playerid, weaponid, 99999);
}
else
{
GivePlayerWeapon(playerid, weaponid, ammo);
}
}