[Ajuda] Matar fora da area de DM
#1

bom nessa funзгo o player mata fora da area de dm e vai preso automaticamente, queria que mostrasse a mensagem pra todos:

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);
SendClientMessage(i, Amarelo, string);
}
}
return 1;
}
Ja tentei usar o SendClientMessageToAll e nгo deu, deu error!
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)