Amazing @trinity7
Elitedox Official
(07-18-2018 - 03:07 AM)trinity7 Wrote:
void SendMessageToPlayer(int player, char* message)
{
int netHandle[76];
NETWORK::NETWORK_HANDLE_FROM_PLAYER(player, &netHandle[0], 13);
NETWORK::NETWORK_SEND_TEXT_MESSAGE(message, &netHandle[0]);
}
//all player
for (int i = 0; i < 18; i++) {
SendMessageToPlayer(i, "Hello!");
}
//player
SendMessageToPlayer(player, "Hello!");