View Single Post
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 07-09-2005 , 16:21  
Reply With Quote #9

I am. I'm wanting people to only be able to choose certain upgrades. This is currently what I have but it's still allowing me to choose the weapon I'm trying to restrict.

Code:
#include <amxmodx>
#include <engine>

public plugin_init() {
	register_plugin("LMG/Skulk Combat","1.0","v3xtra")
}


public client_impulse(id,impulse) {

	if(impulse == 118 || 39 || 38 || 126 || 114 || 115 || 116 || 117 || 64 || 65 || 66 || 37 || 61 || 11){
	client_print(id,print_chat, "Sorry but you cannot buy that upgrade!")

	return PLUGIN_HANDLED

		}
}
It seems that 118 doesn't work, but everything else does.
__________________
f1del1ty.oXi is offline