SA-MP Forums Archive
Help!! - 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)
+--- Thread: Help!! (/showthread.php?tid=508225)



Help!! - N0SsL0 - 21.04.2014

EDIT!! FIXED. THANKS FOR THE HELP!!!

Please delete this topic!


Re: Help!! - EiresJason - 21.04.2014

EDIT: Nevermind :P

Replace 'TotalPlayers' with the variable you're using that stores the total number of players on the server.
pawn Код:
#define COLOR_WHITE 0xFF0000

SendClientMessage(playerid, COLOR_WHITE, "Welcome to my server!");
new string[128];
format(string,sizeof(string),"There are currently %d people in the server",TotalPlayers);
SendClientMessage(playerid, COLOR_WHITE, string);



Re: Help!! - N0SsL0 - 21.04.2014

Thank YOU!