Thread: Pistol Rounds
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Exolent[jNr] (178)
thatguyzp
Junior Member
Join Date: Mar 2009
Old 03-02-2009 , 19:49   Pistol Rounds
Reply With Quote #1

Pistol Rounds

Description
Pistol Rounds is a plugin that will turn your server into a match style pistol round server.

Features
Resets to default Terrorist/Counter Terrorist weapon on round start.
Resets money to 800 on round start.
Resets armor to 0 on round start.
Resets all grenades on round start.
Takes away defuse kits for Counter Terrorist on round start.

Installation
Place pistolrounds.amxx in your plugins directory.
Add pistolrounds.amxx in your plungins.ini file.

Changelog
1.0 Initial Commit
1.1 Changed strip code to the one posted by Exolent[jNr].
1.2 Use fm_give_item now instead of ham_give_item.
1.3 Even better code thanks to ConnorMcLeod.
1.4 Fixes.
1.5 Added cvar amx_pistolrounds [0/1] to toggle plugin.

Disclaimer
This is my first plugin for amxx, so it's probably not the best, also extremely simple since my plugin writing skills are not good.
I made this because I like pistol rounds ALOT.

Seems to work fine on a win32 platform. Tested with amxx 1.8.1

Let me know what you guys think, or what I can do to improve it.
Attached Files
File Type: sma Get Plugin or Get Source (pistolrounds.sma - 4464 views - 1.1 KB)

Last edited by thatguyzp; 03-03-2009 at 17:40.
thatguyzp is offline