15.11.2011, 15:13 
	
	
	
		You can create a /unjail CMD. Example:
	
	
	
	
pawn Код:
CMD:unjail(playerid,params[])
{
new unjail[MAX_PLAYER_NAME],name[MAX_PLAYER_NAME],string[128],pID;
GetPlayerName(pID,unjail,MAX_PLAYER_NAME);
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid,COLOR_WHITE,"You are not an Admin");
else if(isnull(params))
{
SendClientMessage(playerid,COLOR_WHITE,"USAGE: /unjail <playerid> <reason>");
}
else if(!IsPlayerConnected(pID)) return SendClientMessage(playerid,COLOR_WHITE,"Invalid Player");
else
{
format(string,sizeof(string),"COMMAND: %s has been unjailed by %s reason: %s",jail,name,params);
SetPlayerPos(pID, X, Y, Z);
SendClientMessageToAll(COLOR_RED,string);
}
return 1;
}

