Player joined counter. - 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: Player joined counter. (
/showthread.php?tid=108474)
Player joined counter. -
Sal_Kings - 14.11.2009
Does anyone know where i can get this tiny script, when a player connects to the server it adds +1 and sends a message to him/her saying "People ever connected to server %.".
Re: Player joined counter. -
DeathOnaStick - 14.11.2009
pawn Код:
new jplayas;
OnPlayerConnect(playerid)
{
jplayas++;
new string[128];
format(string, sizeof(string), "%i Players ever connected to this server.", jplayas);
SendClientMessage(playerid, COLOR_GREEN, string);
return 1;
}
Cheers.
Re: Player joined counter. -
Sal_Kings - 14.11.2009
Quote:
Originally Posted by DeathOnaStick
pawn Код:
new jplayas;
OnPlayerConnect(playerid) { jplayas++; new string[128]; format(string, sizeof(string), "%i Players ever connected to this server.", jplayas); SendClientMessage(playerid, COLOR_GREEN, string); return 1; }
Cheers.
|
Thx!