Raised This Month: $12 Target: $400
 3% 

CurWeapon Event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode