24.12.2012, 11:56
Quote:
Thank you
Also maybe you will know whats wrong here? pawn Код:
|
pawn Код:
case 0: // PCSO // nothing
{
if(FacInfo[playerid][fRank1] != 1) return 0; //You didn't return before.
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);
}
pawn Код:
switch(skin)
{
case 251,252,181,255: return 0; //Etc.