Name display in GAMETEXT
#1

Код:
new pname[MAX_PLAYER_NAME];
GetPlayerName(i, pname, sizeof(pname));
format(string, sizeof(string), "[WIN] ~w~%s ~r~Win", pname);
GameTextForAll("%s Win", 8000, 3);
hi dude ^^
i can't see the name of the winner , ingame i see %s . Can you help me?
Reply
#2

Hi dude.
Код:
new pname[MAX_PLAYER_NAME];
GetPlayerName(i, pname, sizeof(pname));
format(string, sizeof(string), "[WIN] ~w~%s ~r~Win", pname);
GameTextForAll(string, 8000, 3);
Reply
#3

it's the same code no?
Reply
#4

Quote:
Originally Posted by g@k
it's the same code no?
It's not the same, watch the last 2 lines...
Reply
#5

Quote:
Originally Posted by g@k
it's the same code no?
No && look.
Reply
#6

Okay thanks man =)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)