05.02.2010, 13:20
I tried to search this but I can find anything to match what I'm looking for.
I want to send all players a message if someone is near another player so for example.
I want to send all players a message if someone is near another player so for example.
pawn Код:
{
if(Health >= 90.0)
{
return SendClientMessage(playerid, RED, "ERROR: You already have enough health.");
}
SendClientMessage(playerid, WHITE, ">> You ate a banana cluster and your health was fully restored.");
SetPlayerHealth(playerid, 100);
Sendallclientmessage " OMG HE ATE TEH BANANAZ" << This should work if other people are near this person.
}