[Ajuda] Matar fora da area de DM
#9

pawn Код:
if(dini_Int(file2, "DM") == 1){
new plid;
for(new i; i != MAX_PLAYERS; i++){
if(IsPlayerConnected(plid)) continue;
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), P_CONTAS, aname);
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;
}
@Edit - billy
Nгo, pois estб enviando a mensagem para todos do servidor e, nгo apenar para o player.
Reply


Messages In This Thread
Matar fora da area de DM - by Arthenry - 25.07.2012, 17:42
Re: Matar fora da area de DM - by UkTaKe - 25.07.2012, 17:45
AW: Matar fora da area de DM - by billy the kid - 25.07.2012, 17:47
Re: Matar fora da area de DM - by Arthenry - 25.07.2012, 17:48
Re: Matar fora da area de DM - by Arthenry - 25.07.2012, 17:55
Re: Matar fora da area de DM - by UkTaKe - 25.07.2012, 17:58
Re: Matar fora da area de DM - by Arthenry - 25.07.2012, 17:59
AW: Matar fora da area de DM - by billy the kid - 25.07.2012, 18:00
Re: Matar fora da area de DM - by F_Cinco - 25.07.2012, 18:01
Re: Matar fora da area de DM - by UkTaKe - 25.07.2012, 18:01

Forum Jump:


Users browsing this thread: 1 Guest(s)