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

[req]plugin to greet and display messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
am_amx
Senior Member
Join Date: Jul 2010
Location: here
Old 07-08-2010 , 13:43   [req]plugin to greet and display messages
Reply With Quote #1

hi

i need a plugin
1.that greets the user(like "welcome to my server have fun ") every 30 seconds
2.display some rules(like no spamming,respect others..etc) every 5 mins


i want them placed on screen such that they don't overlap with each other



i have currently installed amxmod v.1.8.1
am_amx is offline
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 07-08-2010 , 14:00   Re: [req]plugin to greet and display messages
Reply With Quote #2

Search!
__________________
unnyquee is offline
xavier666
Junior Member
Join Date: Aug 2009
Location: India, West Bengal, Kolk
Old 07-08-2010 , 14:14   Re: [req]plugin to greet and display messages
Reply With Quote #3

Quote:
Originally Posted by am_amx
every 30 seconds
Quote:
Originally Posted by am_amx
every 5 mins
Do you want it to suddenly spring up when a player is in an intense game-play? If not, the motd will do just fine...
__________________
I have very little knowledge about the workings of AMX Mod. I may not understand your technical babble so please be patient with me
But I am a quick learner
xavier666 is offline
am_amx
Senior Member
Join Date: Jul 2010
Location: here
Old 07-08-2010 , 14:15   Re: [req]plugin to greet and display messages
Reply With Quote #4

Quote:
Originally Posted by unnyquee View Post
Search!
i have gone through some plugins but no effect(admin mod)
can any one pls provide me right plugin
am_amx is offline
am_amx
Senior Member
Join Date: Jul 2010
Location: here
Old 07-08-2010 , 14:18   Re: [req]plugin to greet and display messages
Reply With Quote #5

Quote:
Originally Posted by xavier666 View Post
Do you want it to suddenly spring up when a player is in an intense game-play?
yes that's why i want it place some where like below radar or at some corner of screen
am_amx is offline
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 07-08-2010 , 14:19   Re: [req]plugin to greet and display messages
Reply With Quote #6

Quote:
Originally Posted by unnyquee View Post
Search!
Isn't that hard .
__________________
unnyquee is offline
am_amx
Senior Member
Join Date: Jul 2010
Location: here
Old 07-08-2010 , 22:41   Re: [req]plugin to greet and display messages
Reply With Quote #7

Quote:
Originally Posted by unnyquee View Post
Isn't that hard .
what is the search key or term i have tried message but no use
am_amx is offline
Ryokin
Senior Member
Join Date: Jan 2010
Old 07-08-2010 , 23:01   Re: [req]plugin to greet and display messages
Reply With Quote #8

ok try this
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>

#define PLUGIN "message"
#define VERSION "1.0"
#define AUTHOR "Ryokin"

public plugin_init() {
 
register_plugin(PLUGINVERSIONAUTHOR)
 
set_task(30.0"welcome"___"b")
 
set_task(600.0"rules"___"b")
}
public 
welcome() {
 
set_hudmessage(025500.00.1506.012.4)
 
show_hudmessage(0"welcome to my server have fun")
}
public 
rules() {
 
set_hudmessage(255000.00.2406.012.4)
 
show_hudmessage(0"no spamming,respect...")

__________________
NH4CL + NaOH -> NH3 + H2O + NaCL
Ryokin is offline
am_amx
Senior Member
Join Date: Jul 2010
Location: here
Old 07-09-2010 , 04:30   Re: [req]plugin to greet and display messages
Reply With Quote #9

Quote:
Originally Posted by Ryokin View Post
ok try this
]
thanx Ryokin for the script ,it works but the color of text blends with radar(green)
so,
how can i change
1. the color and size?



2. change the text transition (like letter after letter or word after word to form sentence)?

3. the no.of sec the message should be present on screen?

lastly

4.can i display the rules message to every one after connecting and there after only to dead clients(who got killed while they spec )?
Attached Thumbnails
Click image for larger version

Name:	1.JPG
Views:	269
Size:	2.1 KB
ID:	69236  

Last edited by am_amx; 07-09-2010 at 04:36.
am_amx is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-09-2010 , 06:14   Re: [req]plugin to greet and display messages
Reply With Quote #10

change the color with the first 3 params of this:
PHP Code:
set_hudmessage(025500.00.1506.012.4
like
PHP Code:
set_hudmessage(redgreenblue0.00.1506.012.4
You can't change the size

change the amount of seconds with the first param here.
PHP Code:
set_task(30.0"welcome"___"b")
 
set_task(600.0"rules"___"b" 
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
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 12:40.


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