Draw Usernames On Players

Posted by CharaKayra
i tried
draw_text(x, y, gms_other_get(player_id, "name"))
draw_self()

in other player draw event

but its not drawing anything
can you help?

Replies (2)

Last message on 13 Jan 2022

Size43 (Administrator) on 11 Jan 2022, 13:12:13
Try drawing some text that should always show up:

[script]
draw_text(x, y, "player name here")
draw_self()
[/script]

Do you see "player name here" being drawn on the screen?
CharaKayra (Topicstarter) on 13 Jan 2022, 07:20:30
i fixed it. the problem was it was drawing text first and not player so made player draw first then drew the text and that worked