Advertisement
djhonga2001

GTAV - Show talking players

Nov 18th, 2016
560
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. //----------------- Talking players -----------------
  2. //
  3. // Just enable TalkingPlayers Bool and make sure that Talking[] text gets added onscreen somewhere
  4. //-----------------------------------------------------
  5.  
  6.  
  7.  
  8. TalkingPlayerLoop()
  9. {
  10. if (TalkingPlayers==true)
  11. {
  12. for (int i = 0; i < 32; ++i)
  13. {
  14. if (NETWORK_IS_PLAYER_TALKING(i) == true )
  15. {
  16. char Talking[] = GET_PLAYER_NAME(i)
  17. //Add code here to make the Talking[] entry be pushed to screen
  18. }
  19. i++;
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement