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

Fire Mode Information


Post New Thread Reply   
 
Thread Tools Display Modes
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 10-24-2009 , 08:42   Re: Rate of Fire Information
Reply With Quote #11

Oh, awesome, thanks ! I'll add them right away

EDIT: Found that you can add v as volume, values from 0 to 100 :}
Also, with the new print style, I had to remove the register_event() and hook a register_message() to block the original message too.

EDIT #2: new version uploaded: 1.1
Quote:
- Optimized code & usage
- Extended sound cvar, it now sets: no sound/only player/anyone near player
- Lowered switch volume from 0.8 to 0.5
- Added an alternative center text method that does not add over original text messages.
EDIT #3: new minor version uploaded: 1.1b
Quote:
- Minor fix: the sound triggers on spectator mode change too, because of a typo.
I thought I was hearing stuff in the server... the sound just came out of nowhere, then I realised it was the spectator mode switch and the sound came from dead people xD
__________________

Last edited by Hunter-Digital; 10-28-2009 at 02:30.
Hunter-Digital is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 11-15-2009 , 23:18   Re: Fire Mode Information
Reply With Quote #12

New small version uploaded, v1.1c, text doesn't show up when you have a shield and get a glock.

edit: re-fixed small typo in latest version... I had to see that for myself because the six people that got the plugin didn't post any input :-j (plugin didn't compile, until now.)
__________________

Last edited by Hunter-Digital; 11-19-2009 at 01:47.
Hunter-Digital is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-31-2010 , 18:20   Re: Fire Mode Information
Reply With Quote #13

1. Don't use #define for strings. Use new const instead.

2. There is no reason to make global constants for such simple information.
Code:
#define FORMAT			"^n^n%s: %s"
#define NAME_famas		"Famas"
#define NAME_glock		"Glock18"
#define NAME_auto			"Automatic"
#define NAME_semi			"Semi-auto"
#define NAME_burst		"Burst Fire"

#define FORMAT_SPK		"spk ^"weapons/mac10_boltpull(p%d,v50)^""
#define SND_rateSwitch		"weapons/mac10_boltpull.wav"

#define W_famas			"weapon_famas"
#define W_glock			"weapon_glock18"
All of this could be used directly into the functions.

Approval pending on changes.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
alias_retaer
Member
Join Date: Jul 2009
Old 02-01-2010 , 07:50   Re: Fire Mode Information
Reply With Quote #14

What is the meaning of "holsterd" ?
alias_retaer is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 02-01-2010 , 07:53   Re: Fire Mode Information
Reply With Quote #15

weriz sma ?
__________________

Last edited by xbatista; 02-01-2010 at 09:06.
xbatista is offline
Send a message via Skype™ to xbatista
alias_retaer
Member
Join Date: Jul 2009
Old 02-01-2010 , 08:28   Re: Fire Mode Information
Reply With Quote #16

Quote:
Originally Posted by xbatista View Post
weriz sma ?
There wow...
alias_retaer is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 02-01-2010 , 09:06   Re: Fire Mode Information
Reply With Quote #17

Site lagged redirects me to 2-nd page ^^

GJ Hunter-digital.
__________________
xbatista is offline
Send a message via Skype™ to xbatista
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-31-2010 , 18:47   Re: Fire Mode Information
Reply With Quote #18

Quote:
Originally Posted by Exolent[jNr] View Post
1. Don't use #define for strings. Use new const instead.

2. There is no reason to make global constants for such simple information.
Code:
#define FORMAT			"^n^n%s: %s"
#define NAME_famas		"Famas"
#define NAME_glock		"Glock18"
#define NAME_auto			"Automatic"
#define NAME_semi			"Semi-auto"
#define NAME_burst		"Burst Fire"

#define FORMAT_SPK		"spk ^"weapons/mac10_boltpull(p%d,v50)^""
#define SND_rateSwitch		"weapons/mac10_boltpull.wav"

#define W_famas			"weapon_famas"
#define W_glock			"weapon_glock18"
All of this could be used directly into the functions.

Approval pending on changes.
This is all wrong. Ignore him and everything he said.

There are a few mistakes and optimizations that can be made, however it is acceptable.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Amonel
Senior Member
Join Date: May 2009
Old 06-12-2010 , 06:54   Re: Fire Mode Information
Reply With Quote #19

[img]http://img811.**************/img811/9532/newbitmapimages.png[/img]

there is no bug/error, but it should be fixed
Amonel is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 06-14-2010 , 03:41   Re: Fire Mode Information
Reply With Quote #20

Yes it is an error, you just don't have debug enabled.

New small version uploaded.
__________________
Hunter-Digital is offline
Reply



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 11:30.


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