25.07.2012, 17:47
pawn Код:
if(dini_Int(file2, "DM") == 1){
for(new i=0; i<MAX_PLAYERS; i++){
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), P_CONTAS, aname);
new plid;
GameTextForPlayer(plid,"~b~PRESO", 5000, 0);
SetPlayerPos(plid, 263.8820,77.4002,1001.0391);
SetPlayerInterior(plid, 6);
SetPlayerHealth(plid, 99999);
ResetPlayerWeapons(plid);
dini_IntSet(file2, "Preso", 1);
format(string, sizeof(string), "{2F7AFC} | PRISГO | %s matou %s fora da бrea de DM e foi preso automaticamente!", kname, aname,playerid);
SendClientMessageToAll(-1, string);
}
}
return 1;
}

