Advertisement
Sem_Loreann

Untitled

Apr 19th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. else if(PlayerInfo[playerid][pPhone][1] != INVALID_PLAYER_ID && PlayerBroadCast[0] != playerid)
  2. {
  3. if(PlayerInfo[PlayerInfo[playerid][pPhone][1]][pPhone][1] == playerid)
  4. {
  5. if(Broadcast[0][0] == true && Broadcast[0][1] == true && PlayerInfo[playerid][pPhone][1] == PlayerBroadCast[0])
  6. {
  7. format(form, 128, "[Телефон] %s: %s", GetName(playerid), text);
  8. foreach(int p : Player)
  9. {
  10. if(!PlayerInfo[p][pLogged]) continue;
  11. else if(PlayerInfo[p][pRadio] != 0) continue;
  12. SendClientMessage(p, 0x597d8bFF, form);
  13. }
  14. return false;
  15. }
  16. format(form, 128, "[Телефон] %s: %s", GetName(playerid), text);
  17. SendClientMessage(PlayerInfo[playerid][pPhone][1], c_YELLOW, form);
  18. SendClientMessage(playerid, c_YELLOW, form);
  19. return false;
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement