17.03.2014, 17:01
You'll have to do it separately like this:
pawn Код:
if(VehWep1[vehicleid] == 0)
{
format(string, sizeof(string), "Weapon Compartment 1: {B0FFFF}Empty");
SendClientMessage(playerid, 0xFFD99FFF, string);
}
else
{
format(string, sizeof(string), "Weapon Compartment 1: {B0FFFF}%s {D99FFF}(%d Ammo)", WeaponNames[VehWep1[vehicleid]], VehWepA1[vehicleid]);
SendClientMessage(playerid, 0xFFD99FFF, string);
}