http://forums.alliedmods.net/showthread.php?p=59531
That should help you, A LOT.
Here, I'll put it here plain and simple:
Code:
#include <amxmodx>
#include <engine>
public plugin_init() {
// ..
register_clcmd("say /shield","check_shield",-1)
}
public check_shield() {
new id = read_data(2)
new seq = entity_get_int(id,EV_INT_sequence)
if(seq == 98) {
client_print(id,3,"You have a shield")
}
return PLUGIN_HANDLED
}
Code:
//SEQUENCCE 89 = Shield + Knife
//SEQUENCE 94 = Shield + Pistol
//SEQUENCE 98 = Shield only (right clicked)
__________________