[Ajuda] AJUDA GM
#3

pawn Код:
if(!strcmp(cmd, "/p", true))
{
new tmp[128];
strmid(tmp, cmdtext, 3, strlen(cmdtext), 128);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_RED, "/f [texto]");
new Float:diegox,Float:diegoy,Float:diegoz;
format(tmp, sizeof(tmp), "|»»| Chat Prуximo |««| %s: %s", PlayerName(playerid), tmp);
GetPlayerPos(playerid, diegox, diegoy, diegoz);
for(new diego; diego < MAX_PLAYERS; diego++)
{
if(IsPlayerInRangeOfPoint(diego, 10.0, diegox, diegoy, diegoz))//o 10.0 й a бrea que o chat pega
{
SendClientMessage(diego, COLOR_RED, tmp);
}
}
return 1;
}
ta aн
achei isso em um gm meu por aki de quando eu estudava pawn
Reply


Messages In This Thread
AJUDA GM - by maluco88 - 04.09.2012, 01:20
Re: AJUDA GM - by Q.I - 04.09.2012, 01:29
Re: AJUDA GM - by matheus280 - 04.09.2012, 01:29
Re: AJUDA GM - by Life Advanced - 04.09.2012, 01:31
Re: AJUDA GM - by maluco88 - 04.09.2012, 01:33
Re: AJUDA GM - by Life Advanced - 04.09.2012, 01:35
Re: AJUDA GM - by maluco88 - 04.09.2012, 01:44
Re: AJUDA GM - by Life Advanced - 04.09.2012, 01:50
Re: AJUDA GM - by maluco88 - 04.09.2012, 01:50
Re: AJUDA GM - by Life Advanced - 04.09.2012, 01:52

Forum Jump:


Users browsing this thread: 4 Guest(s)