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



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(stringsizeof(string), "*New record for online players %d, fixed on %d %s %d, at %d:%d"PrecordDrecordmname[Mrecord-1], YrecordTHrecordTMrecord); 
AND THIS :

PHP код:
format(stringsizeof(string), "**Record for online players %d, fixed on %d %s %d, at %d:%d"PrecordDrecordmname[Mrecord-1], YrecordTHrecordTMrecord); 



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