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

[CSGO] Event "weapon_outofammo" does not working?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
last_hope
Senior Member
Join Date: Dec 2011
Old 11-21-2015 , 06:12   [CSGO] Event "weapon_outofammo" does not working?
Reply With Quote #1

From wiki we have these working events:
weapon_fire_on_empty
weapon_reload

But if we want to use
weapon_outofammo - nothing happens...

Is it a bug?
__________________
last_hope is offline
Send a message via ICQ to last_hope
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 11-21-2015 , 06:47   Re: [CSGO] Event "weapon_outofammo" does not working?
Reply With Quote #2

This doesn't work:
Spoiler

I think never called events.
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-21-2015 , 09:09   Re: [CSGO] Event "weapon_outofammo" does not working?
Reply With Quote #3

Not all events are server-side events.

The client fires its own events that are picked up by other parts of the game client.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
last_hope
Senior Member
Join Date: Dec 2011
Old 11-22-2015 , 07:03   Re: [CSGO] Event "weapon_outofammo" does not working?
Reply With Quote #4

Quote:
Originally Posted by Bara View Post
This doesn't work:
Spoiler

I think never called events.
Nope. This works well. See:
Spoiler


If 10/24 bullets and press R >> 12/24
If 0/0 bullets and press +attack >> 0/24 >> autoreload >> 12/12
But if 0/12 bullets and press +attack >> 12/0

I want infinity ammo in BP...
__________________
last_hope is offline
Send a message via ICQ to last_hope
Reply


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 09:39.


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