Adding playername to taskhint

ZedBuster

Valued Member!
Hi there,

Just wondering: I have a dome on my server around a zombie base that warns players for zeds
and I would like to add the name to that taskhint.

Message now looks like this:
Code:
taskHint ["Beware of\nThe Zombies", [1.0, 0.0, 0.0, 1.0], "taskNew"];

I would like to have it like this:
Code:
taskHint ["Beware of\nThe Zombies\n name player", [1.0, 0.0, 0.0, 1.0], "taskNew"];

How can I do that? Thanks in advance :)
 
Back
Top