19.03.2013, 03:38
Alguem ai tem o Codigo, ou um tutorial de "Chat Proximo" Igual de servidores rpG? please
public OnPlayerText(playerid, text[])
{
static
Float:Y,
Float:X,
Float:Z;
GetPlayerPos(playerid, X, Y, Z);
for(new i, e = GetMaxPlayers(); i != e; i++)
{
if(IsPlayerInRangeOfPoint(i, 100.0, X, Y, Z))
{
if(IsPlayerConnected(i))
{
SendClientMessage(i, -1, text);
}
}
}
return 1;
}