24.07.2012, 20:50
Arrumei o comando para vocк :
Espero ter ajudado .
pawn Код:
CMD:f(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, 0xFFFFFFAA, "Digite: /f [texto]");
new Float:Coord[3];
new NickName[25];
GetPlayerPos(playerid, Coord[0], Coord[1], Coord[2]);
GetPlayerName(playerid, NickName, 25);
format(params, 128, "{CD00CD}%s fala: %s", NickName, params);
for(new x = 0, y = GetMaxPlayers(); x != y; x++)
{
if(!IsPlayerInRangeOfPoint(x, 10.0, Coord[0], Coord[1], Coord[2])) continue;
SendClientMessage(x, 0xFFFFFFAA, params);
}
return 1;
}
Espero ter ajudado .