Getplayername problem - 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: Getplayername problem (
/showthread.php?tid=234678)
Getplayername problem -
[nL]W0rfleR - 04.03.2011
Hi, just a confusion with Getplayername,
It only shows 8 characters long of the players name. For example "Server: %s teleported to /sf" And it would only show no more then 8 letters of the players name?
Re: Getplayername problem -
Ironboy - 04.03.2011
It will show if the player name is more that 10 or 15
pawn Код:
GetPlayerName(playerid, name, sizeof(name));
format(string, 256, "*** %s(ID: %d) has teleported to sf .", name, playerid);
SendClientMessageToAll( 0xFF9900AA, string );
Re: Getplayername problem -
[nL]W0rfleR - 04.03.2011
ty ty
Re: Getplayername problem -
Ironboy - 04.03.2011
You are welcome