I'm not actually sure how to use that piece of code. Where do I find the player_id? How do I know which player goes with which objectOtherPlayer? Can you write out the code for me because I do not understand how it works.
Sorry to bringing this thread up again, but I've just notice that when there are three people in the same room. One player gets two names layed on top of each other. While the other player has no name. Any fix for this?
Draw Event Of objPlayerOther:
PlayerName = gms_other_get_string(player_id, "name");
I want the server to select random at the beginning of the game
a player who gets a "hot potato" and that player explodes after 120 seconds
My project file:http://www.mediafire.com/file/5u99oxrqvhxhpx4/TNT_Tag.zip/file
gms_self_name doesn't take any arguments. It just returns the name of the user currently playing your game. If you want the names of the other players on the server, you should use server_other_get_string(player_id, "name")