[Ajuda] Chat proximo erro
#7

Quote:
Originally Posted by Detonador
Посмотреть сообщение
Tente:
pawn Код:
if(text[0] == ';')
 {
 PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
 for(new i; i != MAX_PLAYERS; i++)
 {
 new Float:p[3];
 GetPlayerPos(i,p[0],p[1],p[2]);
 if(IsPlayerInRangeOfPoint(playerid,15.0,p[0],p[1],p[2]))
 {
 new Float:MSG[3];
 if(MSG[i] == 0)
 {
 new sStr[256];
 new Name[24];
 GetPlayerName(playerid,Name,24);
 format(sStr,128,"{FF0000}%s (%i): {00FFFF}%s",Name,playerid,text[1]);
 SendClientMessageToAll(0x00FFFFAA,sStr);
 PlayerPlaySound(i,1057,0.0,0.0,0.0);
 MSG[i] = 1;
 }
 MSG[i] = 0;
 return 0;
 }
 }
 }
Detonador eu achei um problema de qualquer distancia pode ver..
Ta tipo chat global
Reply


Messages In This Thread
Chat proximo erro - by ThiagoMK - 13.07.2013, 23:45
Re: Chat proximo erro - by Markoss - 14.07.2013, 00:20
Re : Chat proximo erro - by ThiagoMK - 14.07.2013, 00:22
Re: Chat proximo erro - by Markoss - 14.07.2013, 01:04
Re: Chat proximo erro - by Detonador - 14.07.2013, 01:07
Re : Re: Chat proximo erro - by ThiagoMK - 14.07.2013, 01:32
Re : Re: Chat proximo erro - by ThiagoMK - 14.07.2013, 01:52
Re: Chat proximo erro - by darkxdll - 14.07.2013, 02:01
Re: Chat proximo erro - by Markoss - 14.07.2013, 13:36
Re : Re: Chat proximo erro - by ThiagoMK - 14.07.2013, 16:15

Forum Jump:


Users browsing this thread: 2 Guest(s)