Thread: CurWeapon Event
View Single Post
Author Message
LeOp4rD
New Member
Join Date: Jul 2022
Location: Algeria
Old 04-05-2024 , 21:30   CurWeapon Event
Reply With Quote #1

Hello, I'm trying to make some actions when a client changes his weapon, but nothing seems to work here :

#include <amxmodx>

public plugin_init(){
register_plugin("knife Buffs" , AMXX_VERSION_STR , "LeOpArD")
register_event("CurWeapon" , "knifeBuff", "a")
}

public knifeBuff(id) {
client_print(0, print_chat, "CurWeapon event triggered for client %d!", id);

return PLUGIN_HANDLED;
}

Last edited by LeOp4rD; 04-05-2024 at 21:31.
LeOp4rD is offline