AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Awesome! (https://forums.alliedmods.net/showthread.php?t=85958)

Jheshka 02-18-2009 11:49

Awesome!
 
2 Attachment(s)
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.

DarkGod 02-18-2009 12:00

Re: Awesome!
 
Nice. :crab:

Jheshka 02-18-2009 12:02

Re: Awesome!
 
Thanks :wink:

Any suggestions?

joaquimandrade 02-18-2009 12:03

Re: Awesome!
 
Quote:

Originally Posted by Jheshka (Post 763964)
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!"); 


Jheshka 02-18-2009 12:05

Re: Awesome!
 
Noted, and changed. :)

xPaw 02-18-2009 12:06

Re: Awesome!
 
Awesome!omfgftwlol!! :D 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!");



Jheshka 02-18-2009 12:07

Re: Awesome!
 
Version 1.2 posted.

joaquimandrade 02-18-2009 12:09

Re: Awesome!
 
Quote:

Originally Posted by Jheshka (Post 763983)
Crap. Here comes version 1.2

Check again my previous post. I forgot: +karma to you

anakin_cstrike 02-18-2009 12:09

Re: Awesome!
 
The best plugin ever! did you made that by yourself ? :o

DarkGod 02-18-2009 12:10

Re: Awesome!
 
Multilingual would be nice. :mrgreen:


All times are GMT -4. The time now is 09:28.

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