Help needed? - 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: Help needed? (
/showthread.php?tid=153924)
Help needed? -
Thrarod - 11.06.2010
Код:
format(JoinMSG,sizeof(JoinMSG),"[%s][%d] has just joined the game",GetPlayerName(playerid),playerid);
Number of arguements doesn't match the definition x2 on same line I get, why?
Re: Help needed? -
RyDeR` - 11.06.2010
GetPlayerName(playerid) ?
pawn Код:
new
pName[MAX_PLAYER_NAME]
;
GetPlayerName(playerid, pName, sizeof(pName));
format(JoinMSG, sizeof(JoinMSG),"[%s][%d] has just joined the game", pName, playerid);
Re: Help needed? -
Thrarod - 11.06.2010
Haven't been scripting for 2 months