09.02.2009, 17:57
pawn Код:
//top of script after includes/defines etc.
IsACop(playerid)
{
if (GetPlayerSkin(playerid) >= 280 && GetPlayerSkin(playerid) <= 286)
{
return 1;
}
else if (GetPlayerSkin(playerid) == 288)
{
return 1;
}
return 0;
}
//change
if(GS >= 281 && GS <= 280 && GS <= 282 && GS <= 283 && GS <= 288 && GS <= 284 && GS <= 285 && GS <= 286)
//to
if (IsACop(playerid))