Raised This Month: $32 Target: $400
 8% 

[REQ] Simple Connect/Disconnect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 07-30-2011 , 16:19   [REQ] Simple Connect/Disconnect
Reply With Quote #1

Hi,

Could someone convert this code snippet in a simple script SM ?

PHP Code:
event player_activate
{
    
es_msg #multi #lightgreenPlayer#green event_var(es_username), event_var(es_steamid)#lightgreen connected!  
}

event player_disconnect
{
    
es_msg #multi #lightgreenPlayer#green event_var(es_username), event_var(es_steamid)#lightgreen left!


Regards
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 07-31-2011 , 11:42   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #2

Could someone help me?
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
EGood
Member
Join Date: Feb 2011
Location: Israel
Old 08-01-2011 , 08:40   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #3

Hello , homerjsimpson take my Script ..
Attached Files
File Type: sp Get Plugin or Get Source (messege.sp - 469 views - 861 Bytes)
EGood is offline
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 08-01-2011 , 10:16   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #4

Thank you so much EGood.

homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 08-01-2011 , 17:04   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #5

EGood,

I just test and when a player connect/disconnect on server the message is not displayed. I've checked the file error log and it appears that:
Quote:
L 08/01/2011 - 16:51:13: SourceMod error session started
L 08/01/2011 - 16:51:13: Info (map "ctf_2fort") (file "errors_20110801.log")
L 08/01/2011 - 16:51:13: [messege.smx] -=๖ۣCŽﮔ=- Homer
L 08/01/2011 - 16:525: [messege.smx] -=๖ۣCŽﮔ=- Homer
L 08/01/2011 - 16:52:44: [messege.smx] -=๖ۣCŽﮔ=- Homer
Any idea why the message does not display ?!
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-01-2011 , 19:17   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #6

Can you give a list of plugins? Do you have Tidy Chat installed?
Drixevel is offline
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 08-02-2011 , 18:45   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #7

Quote:
Originally Posted by r3dw3r3w0lf View Post
Can you give a list of plugins? Do you have Tidy Chat installed?
No, i don't have ... This is the list of plugins installed on server

Quote:
[SM] Listing 34 plugins:
01 "Admin File Reader" (1.4.0-dev) by AlliedModders LLC
02 "Admin Help" (1.4.0-dev) by AlliedModders LLC
03 "Admin Menu" (1.4.0-dev) by AlliedModders LLC
04 "Admin loggin" (1.0) by vIr-Dan
05 "AFK Manager" (3.4.2) by Rothgar
06 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
07 "Basic Chat" (1.4.0-dev) by AlliedModders LLC
08 "Basic Comm Control" (1.4.0-dev) by AlliedModders LLC
09 "Basic Commands" (1.4.0-dev) by AlliedModders LLC
10 "Basic Info Triggers" (1.4.0-dev) by AlliedModders LLC
11 "Basic Votes" (1.4.0-dev) by AlliedModders LLC
12 "Client Preferences" (1.4.0-dev) by AlliedModders LLC
13 "Fun Commands" (1.4.0-dev) by AlliedModders LLC
14 "Fun Votes" (1.4.0-dev) by AlliedModders LLC
15 "gameME Plugin" (3.9) by TTS Oetzel & Goerz GmbH
16 "Kigen's Anti-Cheat" (1.2.2.0) by CodingDirect LLC
17 "MapChooser" (1.4.0-dev) by AlliedModders LLC
18 "Nextmap" (1.4.0-dev) by AlliedModders LLC
19 "Map Nominations" (1.4.0-dev) by AlliedModders LLC
20 "Player Commands" (1.4.0-dev) by AlliedModders LLC
21 "RandomCycle" (1.4.0-dev) by AlliedModders LLC
22 "RCON Lock" (0.6. by devicenull
23 "Reserved Slots" (1.4.0-dev) by AlliedModders LLC
24 "Rock The Vote" (1.4.0-dev) by AlliedModders LLC
25 "Sourcebans Checker" (1.0.0) by psychonic & Ca$h Munny
26 "SourceMod Anti-Cheat" (0.0.5.0) by psychonic, GoD-Tony, CodingDirect LLC
27 "Evil Admin - Glow" (1.0.107) by <eVa>Dog
28 "SM Super Commands" (0.60) by pRED*
29 "Sound Commands" (1.4.0-dev) by AlliedModders LLC
30 "SourceBans" (1.4. by SourceBans Development Team
31 "Spray Tracer" (5.8b) by Nican132, CptMoore, Lebson506th
32 "Web Shortcuts" (1.0.1) by James "sslice" Gray
33 "Connect & Disconnect Messege" (1.1) by EGood
Thks
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
EGood
Member
Join Date: Feb 2011
Location: Israel
Old 08-03-2011 , 12:56   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #8

my mod isnt working in TF2 ..
EGood is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-03-2011 , 17:29   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #9

I tested your mod EGood and it works on TF2 but you gotta remove the color tags. It pops up for me when i tried it without color tags. Try using colors.inc to add colors and maybe that will fix the problem.
Drixevel is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-03-2011 , 17:39   Re: [REQ] Simple Connect/Disconnect
Reply With Quote #10

Made this plugin in 5 seconds so not sure if it works but it should. Compiles without errors.

Requires colors to be compiled.
Attached Files
File Type: smx ConnectMessage.smx (5.1 KB, 215 views)
File Type: sp Get Plugin or Get Source (ConnectMessage.sp - 228 views - 948 Bytes)
File Type: inc colors.inc (11.9 KB, 197 views)
Drixevel is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode