Raised This Month: $51 Target: $400
 12% 

Awesome!


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Hawk552 (427)
Jheshka
Senior Member
Join Date: Dec 2005
Old 02-18-2009 , 11:49   Awesome!
Reply With Quote #1

Changelog:
1.1: Updated plugin so that it shows a message to every player when someone joins the server.
1.2: Update plugin so that it properly outputs
1.3: Added multilingual support. Fixed overflow issues. Made plugin print_chat when a client disconnects.
1.3.3.7: Fixed multilingual support.



Do you like it?

I'm open to suggestions.
Attached Files
File Type: sma Get Plugin or Get Source (Awesome.sma - 4502 views - 677 Bytes)
File Type: txt Awesome.txt (2.2 KB, 2477 views)
__________________
James

Last edited by Jheshka; 06-12-2010 at 23:38.
Jheshka is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 02-18-2009 , 12:00   Re: Awesome!
Reply With Quote #2

Nice.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Jheshka
Senior Member
Join Date: Dec 2005
Old 02-18-2009 , 12:02   Re: Awesome!
Reply With Quote #3

Thanks

Any suggestions?
__________________
James
Jheshka is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-18-2009 , 12:03   Re: Awesome!
Reply With Quote #4

Quote:
Originally Posted by Jheshka View Post
This plugin lets everyone know your server is awesome.
PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("Awesome! ","1.0","Jheshka")
}


public 
client_connect()
{
    
client_print(0,print_chat"This server is awesome!\nYou should play here all the time!");

Do you like it?

I'm open to suggestions.
Change:
This plugin lets everyone know your server is awesome.

To:
This plugin lets everyone in the server know, each time that a user connects to it, that your server is awesome.


Edit:

Also:

In the code it would be better to have this:

PHP Code:
public plugin_init()
    
register_plugin("Awesome! ","1.0","Jheshka")
public 
client_connect()
    
client_print(0,print_chat"This server is awesome!^nYou should play here all the time!"); 
__________________

Last edited by joaquimandrade; 02-18-2009 at 12:07.
joaquimandrade is offline
Jheshka
Senior Member
Join Date: Dec 2005
Old 02-18-2009 , 12:05   Re: Awesome!
Reply With Quote #5

Noted, and changed.
__________________
James
Jheshka is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-18-2009 , 12:06   Re: Awesome!
Reply With Quote #6

Awesome!omfgftwlol!! btw \n doesnt work on client_print

PHP Code:
#include <amxmodx> 

public plugin_init() register_plugin"Awesome!""1337.0""xPaw !! omfglol" );

public 
client_putinserver() {
    
client_print(0print_chat"This server is awesome! You should play here all the time!");
    
client_print(0print_chat"This server is awesome! You should play here all the time!");
    
client_print(0print_chat"This server is awesome! You should play here all the time!");
    
client_print(0print_chat"This server is awesome! You should play here all the time!");
    
client_print(0print_chat"This server is awesome! You should play here all the time!");

__________________

Last edited by xPaw; 02-18-2009 at 12:12.
xPaw is offline
Jheshka
Senior Member
Join Date: Dec 2005
Old 02-18-2009 , 12:07   Re: Awesome!
Reply With Quote #7

Version 1.2 posted.
__________________
James
Jheshka is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 02-18-2009 , 12:09   Re: Awesome!
Reply With Quote #8

Quote:
Originally Posted by Jheshka View Post
Crap. Here comes version 1.2
Check again my previous post. I forgot: +karma to you
__________________
joaquimandrade is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 02-18-2009 , 12:09   Re: Awesome!
Reply With Quote #9

The best plugin ever! did you made that by yourself ?
__________________

anakin_cstrike is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 02-18-2009 , 12:10   Re: Awesome!
Reply With Quote #10

Multilingual would be nice.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
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 04:04.


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