User
Pass
2FA
 
 

Plugin prezenta/conectare

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Fixed issues
Author Message1066
Nelutzu

[The Godfather]



Status: Offline
(since 24-06-2019 12:42)
Joined: 19 Apr 2008
Posts: 919, Topics: 119
Location: Suceava

Reputation: -18.8
Votes: 24

   
Post Posted: 18-02-2014, 00:01:59 | Translate post to: ... (Click for more languages)

Nume: Plugin prezenta/conectare
Descriere: Am nevoie de un plugin relativ simplu, care sa-mi scrie intr-un fisier (prezenta.txt) cand se conecteaza fiecare admin sau ultima data la care s-a conectat fiecare admin (ziua, ora).
Exemplu: Fisierul .txt sa arate cam asa:
Code:
nume_admin|ultima_conectare(sau fiecare data cand s-a conectat, in cazul in care nu e posibil de afisat ultima conectare)



0 0
  
Back to top
View user's profile Send private message
Cosm1n1996

[Mentally Stable]



Status: Offline
(since 27-02-2014 21:12)
Joined: 26 Dec 2013
Posts: 121, Topics: 32
Location: Romania

Reputation: 49.4
Votes: 2

Post Posted: 18-02-2014, 01:20:14 | Translate post to: ... (Click for more languages)

Spoiler:


ia de aici fratica poate nu e ceea ce vr dar e asemanator cu ce caut u


_____________________________________________
Fac scripturi html dupa preferinte.Lasati PM cu datele
0 0
  
Back to top
View user's profile Send private message
Nelutzu

[The Godfather]



Status: Offline
(since 24-06-2019 12:42)
Joined: 19 Apr 2008
Posts: 919, Topics: 119
Location: Suceava

Reputation: -18.8
Votes: 24

   
Post Posted: 18-02-2014, 12:25:21 | Translate post to: ... (Click for more languages)

Asta arata timpul jucat.. eu vreau sa salvez ultima conectare..
E bun si asta dar nu e exact ce caut eu.



0 0
  
Back to top
View user's profile Send private message
smeș

[Mentally Stable]



Status: Offline
(since 16-03-2014 08:29)
Joined: 08 Feb 2014
Posts: 32, Topics: 7
Location: Constangeles.

Reputation: 37.8
Votes: 2

Post Posted: 24-02-2014, 08:59:34 | Translate post to: ... (Click for more languages)

Click.
Acest plugin salveazã și comenzile adminilor, aratã și când s-au conectat, când s-au deconectat...

0 0
  
Back to top
View user's profile Send private message
andrei@!
[Banned user]


Banned


Status: Offline
(since 25-03-2014 17:27)
Joined: 12 Jan 2014
Posts: 140, Topics: 24
Location: Bucureºti

Reputation: -47.9
Votes: 6

 
Post Posted: 24-02-2014, 15:31:35 | Translate post to: ... (Click for more languages)

cautati pluginul amx_last


0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
EDUTz

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 20-03-2014, 20:53:32 | Translate post to: ... (Click for more languages)

Nelutzu wrote:
Nume: Plugin prezenta/conectare
Descriere: Am nevoie de un plugin relativ simplu, care sa-mi scrie intr-un fisier (prezenta.txt) cand se conecteaza fiecare admin sau ultima data la care s-a conectat fiecare admin (ziua, ora).
Exemplu: Fisierul .txt sa arate cam asa:
Code:
nume_admin|ultima_conectare(sau fiecare data cand s-a conectat, in cazul in care nu e posibil de afisat ultima conectare)


Code:
#include <amxmodx>
#include <amxmisc>
new fisier[64]

public plugin_init()
{
   register_plugin("conectare admini", "1.0", "EDUTz")
   get_time( "addons/amxmodx/logs/admini/admini_%Y%m%d.log", fisier, charsmax (fisier) )
}

public client_putinserver(id)
{
   if(is_user_admin(id))
   {
      new Nume[36], text[64]
      get_user_name(id, Nume, charsmax(Nume))
      formatex(text, charsmax(text), "Adminul %s a intrat", Nume)
      log_to_file(fisier, text)
   }
}

public client_disconnect(id)
{
   if(is_user_admin(id))
   {
      new Nume[36], text[64]
      get_user_name(id, Nume, charsmax(Nume))
      formatex(text, charsmax(text), "Adminul %s a a iesit", Nume)
      log_to_file(fisier, text)
   }
}




Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID

  Topic locked


Topic is closed, you cannot post any messages in it anymore




 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Fixed issues  


The time now is 15-12-2024, 14:05:12
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x