[Include] Saving Logs And Formatting Text
#1

This include can save logs to file and format text, have four macro defines.
Код:
SendClientFormattedMessage(PlayerId,Color,String[],Arguments)
  • PlayerId - Player which get formatted message.
  • Color - Color of text.
  • String[] - Message.
  • Arguments - Arguments.
This function send formatted message to player.
Код:
SendClientFormattedMessageToAll(Color,String[],Arguments)
  • Color - Color of text.
  • String[] - Message.
  • Arguments - Arguments.
This function send formatted message to all.
Код:
SaveLog(Filename[],String[],Arguments)
  • Filename[] - Name of file.
  • String[] - Log to file.
  • Arguments - Arguments.
This function save log to selected file.
Код:
SaveToLog(String[],Arguments)
  • String[] - Log to file.
  • Arguments - Arguments.
This function save log to file called today's date, you must create folder Logs. Below is links to download.
Reply


Messages In This Thread
Saving Logs And Formatting Text - by Rillsen1998 - 20.02.2013, 14:15
Re: Saving Logs And Formatting Text - by S0n1COwnsYou - 20.02.2013, 14:26
Re: Saving Logs And Formatting Text - by Rillsen1998 - 20.02.2013, 14:33
Re: Saving Logs And Formatting Text - by Niko_boy - 20.02.2013, 15:06
Re: Saving Logs And Formatting Text - by Rock - 20.02.2013, 16:21

Forum Jump:


Users browsing this thread: 1 Guest(s)