Jump to content

[Update - 20.02.2013] rLogs | Server Logs


Recommended Posts

Posted

rLogs | Server Logs

Scripted by Rock

UPDATE 20/02/2013:

Am decis sa fac un update acestui include deoarece era destul de primitiv si mi sa parut folositor.

Acum poti creea si scrie intr-un log ocupand doar o singura linie.

Syntax:

WriteInLog( const Log_File[ ], Log_Com[ ], Log_Par[ ], va_args< > )

Parametrii:

Log_File[ ] - Numele log-ului

Log_Com[ ] - Comentariul tau legat de log, poate fii orice

Log_Par[ ] - Text (Bla: %s, Bla2: %i, %f...etc)

va_args< > - Variabila sursa pentru %s, %i..etc

Din versiunea veche a fost pastrata doar functia DeleteLog.

DeleteLog( "NameOfLog.log" );

Exemplu pentru WriteInLog:

WriteInLog( "LogThis.log", "My Comment about this", "Name: %s, Money: %i, Health: %f", "Rock", 500, 100.00 );

In fisierul LogThis.log va aparea asa:

COMMENT: My Comment about this
(20/2/2013)[04:35:37] Name: Rock, Money: 500, Health: 100.000000

De asemnea am inclus in folderul care il vezi descarca un test ca exemplu.

Download:

[download]Solidfiles - Direct Download[/download]

SA-MP.COM Post

Posted

Rock , tu esti unic la fel ca acest script !

Unic zici? Fac pariu ca mai sunt o gramada ca mine dar nu sunt inca descoperiti :))

Va multumesc tuturor!

  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.