how to make a command which...
#8

Quote:
Originally Posted by SRB
Посмотреть сообщение
thanks, but how can i make so it says how many hours it has been online
https://sampforum.blast.hk/showthread.php?tid=357832

Quote:
Originally Posted by SRB
Посмотреть сообщение
and what about this?

Times has been joined to the server:
New players registered:
Total Message Has Been Sent:
Total Objects in the server:
Total Players Registered:
Total Admins:
Total Banned Players From The Server:
since the last restart...
Use some global vars, increment everytime one of those events happens. Something like:

pawn Код:
new gNewPlayersReg = 0; // Global
new gMessagesSent = 0;

// When a new player signs up...
gNewPlayersReg = gNewPlayersReg + 1;

// When message is sent

public OnPlayerText(playerid, text[])
{
    gMessagesSent = gMessagesSent + 1;
    return 1;
}
And then show those global variables in an IRC message.
Reply


Messages In This Thread
how to make a command which... - by SRB - 27.12.2013, 00:07
Re: how to make a command which... - by Miguel - 27.12.2013, 06:41
Re: how to make a command which... - by newbie scripter - 27.12.2013, 07:13
Re: how to make a command which... - by SRB - 27.12.2013, 12:22
Re: how to make a command which... - by SRB - 27.12.2013, 13:19
Re: how to make a command which... - by Miguel - 27.12.2013, 16:34
Re: how to make a command which... - by SRB - 27.12.2013, 17:22
Re: how to make a command which... - by Miguel - 27.12.2013, 17:56
Re: how to make a command which... - by SRB - 27.12.2013, 19:31
Re: how to make a command which... - by SRB - 28.12.2013, 15:00

Forum Jump:


Users browsing this thread: 2 Guest(s)