Thanks for the reaction but i have actually no idea how to build the suggestions. I came not further than this.
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Plugin Name", "Version", "Name")
register_event("WeapPickup", "WeaponPickup", "be", "1=22", "1=28")
register_event("WeapPickup", "WeaponPickup2", "be")
}
public WeaponPickup(id)
{
client_print(id, print_chat, "the message what will be send to player who pickup m4a1 or ak47")
}
public WeaponPickup2(id)
{
if(cs_get_user_shield(id))
client_print(id, print_chat, "the message what will be send to players who pickup shield")
}
Offtopic but starting a whole new topic is also senseless, can someone explain me where the number 1 stands for in the next line because i saw a plugin what have number 3 instead of 1.
if (!cmd_access(id,level,cid,1))