24.12.2012, 11:55
pawn Код:
case 0: // PCSO // nothing
{
if(FacInfo[playerid][fRank1] == 1)
{
SetPlayerSkin(playerid, 71);
format(string, sizeof(string), "* %s puts on their community support clothing.", RPN(playerid));
SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
}
}
case 1: // Warrented Officer // Baton + Spray
{
if(FacInfo[playerid][fRank1] <= 1) return SendClientMessage(playerid, COLOR_GREY, "You're not a high enough rank!");
{
GiveZaiatWeapon(playerid, 3, 1);
GiveZaiatWeapon(playerid, 41, 1000);
SetPlayerSkin(playerid, 280);
format(string, sizeof(string), "* %s grabs a Baton and CS Spray from their locker.", RPN(playerid));
SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
}
}