Need Send Message to All Players code plz
(06-27-2018 - 08:41 PM)Venz Wrote: Need Send Message to All Players code plz
Code:
int Handle_Player_(int player)
{
int Handle = 0;
NETWORK::NETWORK_HANDLE_FROM_PLAYER(player, 13);
return Handle;
}
void sendText(char *text, int player)
{
NETWORK::NETWORK_SEND_TEXT_MESSAGE("", Handle_Player_(PLAYER::GET_PLAYER_PED(player)));
}
//custom message with keyboard:
switch (keyboardAction)
{
case 1:
for (int i = 0; i < 18; i++){
sendText(GAMEPLAY::GET_ONSCREEN_KEYBOARD_RESULT(), );
}
break;
}
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Users browsing: 4 Guest(s)