User
Pass
2FA
 
 

Daca va rog

 
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) -> Resources
Author Message1038
dAnz0r

[Mentally Stable]



Status: Offline
(since 21-02-2010 13:09)
Joined: 16 Dec 2009
Posts: 12, Topics: 5
Location: Romania

Reputation: 85.4
Votes: 4

Post Posted: 20-12-2009, 11:51:33 | Translate post to: ... (Click for more languages)

Daca va rog imi puteti modifica info_connect.sma ?

Uitati .sma

http://fisierulmeu.ro/66E5J7KLH7EG/info-connect-sma.html

As vrea sa fie cam asa :

[Lapd] Nume Jucator connected

Si la deconectare

[Lapd] Nume Jucator disconnected

Eu am incercat sa modific dar...putine sanse nu se mai vedea numele jucatorului in culoarea verde...

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

[prin vacante]



Status: Offline
(since 10-12-2018 10:49)
Joined: 30 Jan 2008
Posts: 7503, Topics: 333
Location: Romania

Reputation: 1770.2
Votes: 191

 
Post Posted: 20-12-2009, 15:00:01 | Translate post to: ... (Click for more languages)

Quote:
#include <amxmodx>
#include <amxmisc>
#include <geoip>

#define PLUGIN "INfo Connect"
#define VERSION "1.1"
#define AUTHOR "No *mErCy*"

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}

public client_putinserver(player)
{
new user[32],ip[32],Country[33]
get_user_name(player,user,31)
get_user_ip(player,ip,31,1)
geoip_country(ip,Country)

print_color(0,"^x01[Lapd] ^x04%s ^x01connected", user);
}

public client_disconnect(player)
{
new user[32],ip[32],Country[33]
get_user_name(player,user,31)
get_user_ip(player,ip,31,1)
geoip_country(ip,Country)

print_color(0,"^x01[Lapd] ^x04%s ^x01disconnected", user);
}
stock print_color(id, const message[], {Float,Sql,Result,_}:...)
{
new Buffer[128],Buffer2[128]
new players[32], index, num, i

formatex(Buffer2, sizeof Buffer2 - 1, "%s",message)
vformat(Buffer, sizeof Buffer - 1, Buffer2, 3)
get_players(players, num,"c")

if(id)
{
message_begin(MSG_ONE,get_user_msgid("SayText"),_,id)
write_byte(id)
write_string(Buffer)
message_end()
}
else
{
for( i = 0; i < num;i++ )
{
index = players[i]
if( !is_user_connected(index)) continue;

message_begin(MSG_ONE,get_user_msgid("SayText"),_,index)
write_byte(index)
write_string( Buffer )
message_end()
}
}
}



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

[Mentally Stable]



Status: Offline
(since 21-02-2010 13:09)
Joined: 16 Dec 2009
Posts: 12, Topics: 5
Location: Romania

Reputation: 85.4
Votes: 4

Post Posted: 20-12-2009, 15:21:57 | Translate post to: ... (Click for more languages)

Dar pentru ce foloseste geoip ?
0 0
  
Back to top
View user's profile Send private message
ion

[prin vacante]



Status: Offline
(since 10-12-2018 10:49)
Joined: 30 Jan 2008
Posts: 7503, Topics: 333
Location: Romania

Reputation: 1770.2
Votes: 191

 
Post Posted: 20-12-2009, 18:07:36 | Translate post to: ... (Click for more languages)

Aflii tara in functie de ip, e inclus in plugin in caz de vrei sa bagi si prefixu tarilor in mesajele acelea.


0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
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) -> Resources  


The time now is 02-08-2025, 00:50:37
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password