Join/Leave Annoucments v. 1.2
1 Attachment(s)
/*
Join/Leave Message 1.2 by BigBaller Just shows a basic Tsay like message to all players when user is connecting, has established connection and disconnected from your server. Just upload into your amxx/plugins folder Add join_leave.amx in your amxx/plugins.ini Restart server or change map. ENJOY! *New, You are able to turn messages off and on using the cvar amx_join_leave 1 = On 0 = Off Plugin by default is 1 Change Log v 1.0 - Started with basic messages. v 1.1 - Created a cvar to disable messages (cvar is amx_join_leave 1|0) v 1.2 - Moved the messages up, they conflicted with plugins such as StatsX and PTB */ |
may i request that you make a cvar that can turn it off?
|
in future versions I will try and place that in, for now this is it.
|
oh .... WELL GJ BALLER im almost done w/ my plugin
|
Don't use return PLUGIN_CONTINUE in plugin_init()
|
Wow, I didnt notice that, thanx JGHG, I fixed it, updated
|
Instead of the set_task.. why not use call YourSubHere(user[])?
|
because I am nubby and learning how to do that :P
maybe in later versions when I incorpate a cvar to allow turning it off and on will I use the call function, i didnt quite understand how it worked soo I used set task. thanks for the suggestion. |
Quote:
|
Updated
Added cvar amx_join_leave 1|0 as it says in header 1 = On and 0 = Off. |
All times are GMT -4. The time now is 03:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.