Raised This Month: $ Target: $400

Solved [GetEventString]What should i add to make this work?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Senior Member
Join Date: Jul 2016
Location: In TF2
Old 11-01-2016 , 13:48   [GetEventString]What should i add to make this work?
Reply With Quote #1

PHP Code:
public Action OnPlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
    if (
StrEqual(classname"tf_weapon_fireaxe) && weaponID == 214)
        //Do something

Don't pay much attention for the weaponID(i already defined it), i just put it here in case it could cause problems.

Last edited by Nursik; 11-01-2016 at 14:51.
Nursik is offline

Thread Tools
Display Modes

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 14:06.

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