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

Mail (Dra)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Burnzy
Veteran Member
Join Date: Apr 2004
Old 07-17-2004 , 16:22   Mail (Dra)
Reply With Quote #1

This plugin was originally made by Dra for amx

Pretty basic... u get mail on the server! w00t

Code:
/******************************* * Mail system in game server by Dra ******************************** * Ported by Burnzy *  Visit <a href="http://www.burnsdesign.org" target="_blank" rel="nofollow noopener">www.burnsdesign.org</a> ******************************** * *  Cvars: *  ====== *   amx_mailan_delay <seconds> - announce new mail after joined, 0 disable *   amx_mailan_mode <flags> - announce new mail with *    "a" - green hud message *    "b" - voice *    "c" - auto show mail menu * *  Commands: *  ========= *   amx_mail - displays mail menu * *******************************/ #include <amxmodx>

If you want this for CZ, u have to change this line:
Quote:
cstrike_running = equal(mod_name,"cstrike") ? true : false
to
Quote:
cstrike_running = equal(mod_name,"czero") ? true : false
Attached Files
File Type: sma Get Plugin or Get Source (amx_mail.sma - 193 views - 22.0 KB)
__________________
Burnzy is offline
Send a message via AIM to Burnzy
huginen
Junior Member
Join Date: Jul 2004
Location: Sweden
Old 07-19-2004 , 12:15  
Reply With Quote #2

you have not port this plugin correct...

line 37 & 38 looks like this

new mailfile[] = "addons/amx/amx_mail.txt"
new bakfile[] = "addons/amx/amx_mail.bak"

line 741 looks like this

get_time("addons/amx/logs/admin%m%d.log",logfilename,255)

so i don't think you have looked through the source code
huginen is offline
Mr.WHITE
Junior Member
Join Date: Jul 2004
Location: Bordeaux -France
Old 07-19-2004 , 13:53  
Reply With Quote #3

don't understand this plug.can someone explain me how about this plug do?
Mr.WHITE is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 07-19-2004 , 14:07  
Reply With Quote #4

http://forums.alliedmods.net/showthread.php?t=3946
Devicenull -
By porting a plugin, you must be ready to make any futher changes to it, such as bugfixes. This isn't a one shot thing.. you can't just change a few includes and be done with it. If you don't feel that you can maintain this plugin, then please... do not port it.
If you have to ask for help to convert the plugin, and maintain it.. please don't port it. Ask someone else to port it in the Suggestions and Requests forum
__________________
QwertyAccess 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 13:36.


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