Simple Help Question! -
Akcent_Voltaj - 09.08.2012
Can someone tell me how can i create like this
The Server Record is %s(10) players! onplayerconnect can someone help me make it
Re: Simple Help Question! -
Wesley221 - 09.08.2012
Take a look how this guy did it:
https://sampforum.blast.hk/showthread.php?tid=156569
Re: Simple Help Question! -
Akcent_Voltaj - 09.08.2012
thx
i couldent find this
)
Re: Simple Help Question! -
Akcent_Voltaj - 09.08.2012
public Record(playerid)
{
if(Precord)
{
new string[92];
format(string, sizeof(string), "**Record for online players %d, fixed on %d %s %d, at %d:%d", Precord, Drecord, mname[Mrecord-1], Yrecord, THrecord, TMrecord);
SendClientMessage(playerid, 0xA5D24DFF, string);
}
oplayers++;
if(Precord < oplayers)
{
Precord=oplayers;
gettime(THrecord, TMrecord); getdate(Yrecord, Mrecord, Drecord);
new string[92];
format(string, sizeof(string), "*New record for online players %d, fixed on %d %s %d, at %d:%d", Precord, Drecord, mname[Mrecord-1], Yrecord, THrecord, TMrecord);
SendClientMessageToAll(0xFCB833FF, string);
SaveRecord();
}
return 1;
}
DIFF BETWEEN THIS
PHP код:
format(string, sizeof(string), "*New record for online players %d, fixed on %d %s %d, at %d:%d", Precord, Drecord, mname[Mrecord-1], Yrecord, THrecord, TMrecord);
AND THIS :
PHP код:
format(string, sizeof(string), "**Record for online players %d, fixed on %d %s %d, at %d:%d", Precord, Drecord, mname[Mrecord-1], Yrecord, THrecord, TMrecord);
Re: Simple Help Question! -
FalconX - 09.08.2012
Quote:
Originally Posted by Akcent_Voltaj
Can someone tell me how can i create like this
The Server Record is %s(10) players! onplayerconnect can someone help me make it
|
https://sampforum.blast.hk/showthread.php?tid=284226