Raised This Month: $32 Target: $400
 8% 

Want Donate


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
G_H AhitsGoku
Junior Member
Join Date: Oct 2011
Location: Greece,komotini
Old 07-01-2014 , 13:15   Want Donate
Reply With Quote #1

Want Donate


Description :
It's a simple plugin and my first one . You write /wantdonate or wantdonate , and it shows a list which says why to donate , how to donate and what you do with donating .

There are not any cvars , you can add anything to show up after user writes wantdonate .

Installation :
Put wantdonate.amxx to /Plugins and wantdonate.sma to /Scripting .
Put wantdonate.txt to Data/Lang Folder .

Configuration :
You can configure anything you want in wantdonate.txt , just dont touch MOTD_LINES .

Current Version :: 1.0
Attached Files
File Type: sma Get Plugin or Get Source (wantdonate.sma - 506 views - 1.8 KB)
File Type: txt wantdonate.txt (454 Bytes, 135 views)

Last edited by Arkshine; 07-01-2014 at 13:20.
G_H AhitsGoku is offline
Send a message via MSN to G_H AhitsGoku
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-01-2014 , 13:25   Re: Want Donate
Reply With Quote #2

Removed AMXX file. You are not allowed to attach compiled plugin.

About the plugin, this is redundant, there is already plugins which can do that.

Unapproved.


If you want some fast tips to make code better, here some:
  • Use pcvar (cvar pointer), faster.
  • Use charsmax() instead of hardcoding buffer size.
  • The motd style should be easily customizable.
  • Use formatex() when you can (faster).
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

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