an 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: an problem (
/showthread.php?tid=118386)
an problem -
WardenCS - 03.01.2010
hey,i dont really know how to describe it but theres my code
pawn Код:
{
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), " %s Joined the server. (Joined)", pName);
SendClientMessageToAll(0x9ACD32AA, string);
}
and the problem is,it only shows %s Joined the server. (Joined
and nothing more,how to make that the lines can be longer?
Re: an problem -
[HiC]TheKiller - 03.01.2010
It may help if string is larger.
pawn Код:
new Pname[24];
new string[85];
GetPlayerName(playerid, Pname, 24);
format(string, sizeof(string), "%s Joined the server. (Joined)", Pname);
SendClientMessageToAll(0x9ACD32AA, string);
Re: an problem -
WardenCS - 03.01.2010
oh thanks dude.