16.12.2011, 02:28
Sup, how can i make it so i can use %s in a text draw. Like i type /startevent (name) and it shows (name) has started!
I got it to work with sendclientmessage but i dont know how for Gametextforall
example:
that will show in chatbox [EVENT]noob Has Started. Type /yes to join.
But then on the text draw it will show EVENT HAS STARTED type /yes to join. How can i changed the word EVENT to the name it sends in chat box.
I got it to work with sendclientmessage but i dont know how for Gametextforall
example:
pawn Код:
format(string, 120, "[EVENT] %s Has Started. Type /yes to join.",tmp);
But then on the text draw it will show EVENT HAS STARTED type /yes to join. How can i changed the word EVENT to the name it sends in chat box.
pawn Код:
GameTextForAll("~w~ %s Has Started Type ~n~~r~/Yes ~g~To Join!",6000,3);