Name display in GAMETEXT - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Name display in GAMETEXT (
/showthread.php?tid=64363)
Name display in GAMETEXT -
g@k - 03.02.2009
Код:
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?
Re: Name display in GAMETEXT -
Serbish - 03.02.2009
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);
Re: Name display in GAMETEXT -
g@k - 03.02.2009
it's the same code no?
Re: Name display in GAMETEXT -
Sandra18[NL] - 03.02.2009
Quote:
Originally Posted by g@k
it's the same code no?
|
It's not the same, watch the last 2 lines...
Re: Name display in GAMETEXT -
Serbish - 03.02.2009
Quote:
Originally Posted by g@k
it's the same code no?
|
No && look.
Re: Name display in GAMETEXT -
g@k - 03.02.2009
Okay thanks man =)