16.02.2012, 17:04
(
Последний раз редактировалось deltapro; 16.02.2012 в 18:34.
)
pawn Код:
if(strcmp(cmdtext, "/undercover",true)==0){
if(PlayerInfo[playerid][playerteam]==FBI{
if(IsPlayerInSphere(playerid,221.7848,182.8990,1003.0313,5)){ // You can change the coordinates
{
if(PlayerInfo[playerid][ranklvl]>=1 && PlayerInfo[playerid][female]==0){
SetPlayerColor(playerid,COLOR_WHITE);
ResetPlayerWeapons(playerid); // Remove his weapons
SetPlayerSkin(playerid,211);
SendClientMessage(playerid,COLOR_RED,"[ERROR] You are not allowed.
return 1;