SA-MP Forums Archive
Please help you all masters - 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: Please help you all masters (/showthread.php?tid=261551)



Please help you all masters - MA_proking - 14.06.2011

The problem is this

Name of the player is not showing

script is
Код:
new str[128];
new pName[MAX_PLAYER_NAME];
format(str, sizeof(str), ">> %s has joined the wwe. Join /wwe", pName);
SendClientMessageToAll(COLOR_BLUE, str);



Re: Please help you all masters - [L3th4l] - 14.06.2011

pawn Код:
new str[50];
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(str, sizeof(str), ">> %s has joined the wwe. Join /wwe", pName);
SendClientMessageToAll(COLOR_BLUE, str);



Re: Please help you all masters - MA_proking - 14.06.2011

Ya thanks it works