Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › General › Chat › plugin compiler
2 posts, 2 people · 3,404 views Thread Rating: ★★★★★
closedplugin compiler
Started by staticred on 07-01-2008, 02:56 PM
S staticred
started this thread
Posts: 6
Threads: 2
Joined: Feb 2008
07-01-2008, 02:56 PM #1

is there a plugin compiler on this website?rnrni cant seem to find the link tho i seen in another post some1 said there is.. i need this compiled.rnrnso it takes off all nades..rnrnrn

#include <amxmisc>rn#include <fakemeta>rn#include <dodfun>rnrn#define PLUGIN "DOD_NoNades"rn#define VERSION "0.9x"rn#define AUTHOR "Vet(3TT3V)"rnrn#define HAND_BIT (1 << DODW_HANDGRENADE)rn#define STICK_BIT (1 << DODW_STICKGRENADE)rnrnpublic plugin_init()rn{rn	register_plugin(PLUGIN, VERSION, AUTHOR)rn	register_event("ResetHUD", "player_spawn", "be")rn}rnrnpublic player_spawn(id)rn{rn	new pevdata = pev(id, pev_weapons)rn	if (get_user_team(id) == ALLIES) {rn		set_pev(id, pev_weapons, pevdata & ~HAND_BIT)rn		dod_set_user_ammo(id, DODW_HANDGRENADE, 0)rn		client_cmd(id, "weapon_handgrenade;lastinv")rn	} else {rn		set_pev(id, pev_weapons, pevdata & ~STICK_BIT)rn		dod_set_user_ammo(id, DODW_STICKGRENADE, 0)rn		client_cmd(id, "weapon_stickgrenade;lastinv")rn	}rn}
Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
07-01-2008, 06:10 PM #2

Under help tabs at the left

Archive › Old Forum Threads › General › Chat › plugin compiler
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC