• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Player to String

Status
Not open for further replies.
Level 5
Joined
Jan 19, 2020
Messages
102
i want get the player to String because i cant add the player color to the text
i first get the player number and then the player color, but i can only add it as String

Actions
Custom script: local player leaver = GetTriggerPlayer()
Custom script: local playercolor color = GetPlayerColor(leaver)
Game - Display to (All players) for 1.00 seconds the text: <Empty String>
 
Level 5
Joined
Jan 19, 2020
Messages
102
well thanks helped a lot.

i edit it a bit and wrote the color code to the text file,

without the extra Variable.
 
Last edited:
Status
Not open for further replies.
Top