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

[API] CS Reward v6.1 (21 Rewards)


Post New Thread Reply   
 
Thread Tools Display Modes
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-09-2014 , 11:35   Re: Addon: First Blood Reward v1.6 (Bot Support)
Reply With Quote #21

New update!
Quote:
v1.6 - [OPTIMIZED] Remove unnecessary code.
Credits:
Quote:
1. Kia for code helping.
2. Jhob94 for code helping.
zmd94 is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 08-09-2014 , 20:05   Re: First Blood Reward v1.4 (Bot Support)
Reply With Quote #22

Quote:
Originally Posted by Kia View Post
Code:
if(bFirstBlood || victim == attacker || !is_user_connected(attacker))

I would check first if the user is connected / alive before checking if he is also the victim, sounds more logically to me.
Thats actually the way to go. Theres no need to call natives when theres a good chance that the boolean expression will be false because of the other two evaluations anyways.
mottzi is offline
Send a message via MSN to mottzi
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-09-2014 , 23:48   Re: First Blood Reward v1.4 (Bot Support)
Reply With Quote #23

Quote:
Originally Posted by mottzi View Post
Thats actually the way to go. Theres no need to call natives when theres a good chance that the boolean expression will be false because of the other two evaluations anyways.
Thank you for the explanation. ;)
zmd94 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-30-2014 , 12:52   Re: Addon: First Blood Reward v2.0 (Bot Support)
Reply With Quote #24

New update!
Quote:
1. Invisibility reward (Option to enabled or disabled it).
2. Noclip reward (Option to enabled or disabled it).
3. Grenades reward (Option to enabled or disabled it).
4. Weapon reward (Option to enabled or disabled it).
5. Auto-unstuck feature.
Feel free to test it.
zmd94 is offline
Dark_Siders
Member
Join Date: Aug 2013
Location: Dreaming World
Old 08-31-2014 , 02:54   Re: Addon: First Blood Reward v2.0 (Bot Support)
Reply With Quote #25

nice job

I have some suggestions:

- add only headshot feature for X seconds when someone gets first blood.(add cvar to enable/disable and for setting time)
- when someone gets first blood he will get protection for X seconds (controlable by cvars) and the there is a sync hud that shows how much time remains to protection ends.
__________________
***********
I want to die peacefully in my sleep like my grandfather, not screaming in terror like his passengers.

***********
Dark_Siders is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-31-2014 , 03:37   Re: Addon: First Blood Reward v2.0 (Bot Support)
Reply With Quote #26

Quote:
Originally Posted by Dark_Siders View Post
Nice job.
Thank you.
Quote:
Originally Posted by Dark_Siders View Post
Add only headshot feature for X seconds when someone gets first blood. (add cvar to enable/disable and for setting time).
Sorry, I can't get what you mean?
Quote:
Originally Posted by Dark_Siders View Post
When someone gets first blood he will get protection for X seconds (controlable by cvars) and the there is a hud message that shows how much time remains to protection ends.
Nice idea. I will try to add it in the future update. ;)

Last edited by zmd94; 08-31-2014 at 03:37.
zmd94 is offline
Dark_Siders
Member
Join Date: Aug 2013
Location: Dreaming World
Old 08-31-2014 , 03:53   Re: Addon: First Blood Reward v2.0 (Bot Support)
Reply With Quote #27

Quote:
Originally Posted by zmd94 View Post
Sorry, I can't get what you mean?
I mean when someone does a first blood, he gets a reward that lets him to do head shots however he is hitting the enemy's leg.
__________________
***********
I want to die peacefully in my sleep like my grandfather, not screaming in terror like his passengers.

***********
Dark_Siders is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-31-2014 , 04:20   Re: Addon: First Blood Reward v2.0 (Bot Support)
Reply With Quote #28

Quote:
Originally Posted by Dark_Siders View Post
I mean when someone does a first blood, he gets a reward that lets him to do head shots however he is hitting the enemy's leg.
Now, I understand. I'll will add it in the future update.

Then, I will also give you credit for giving me suggestion. ;)

Last edited by zmd94; 08-31-2014 at 04:31.
zmd94 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 08-31-2014 , 07:02   Re: Addon: First Blood Reward v2.2 (Bot Support)
Reply With Quote #29

New update!
Quote:
v2.1 - [ADDED] Deadly shot reward (Option to enabled or disabled it).
v2.2 - [ADDED] God mode reward (Option to enabled or disabled it).
Credit:
Quote:
Dark_Siders for his ideas.
zmd94 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 09-02-2014 , 10:38   Re: Addon: First Blood Reward v2.4 (Bot Support)
Reply With Quote #30

New update!
Quote:
v2.3 - [ADDED] Glow reward (Option to enabled or disabled it).
v2.4 - [ADDED] Aura reward (Option to enabled or disabled it).
v2.5 - [ADDED] firstblood.cfg file option. So, you only have to edit the .cfg file instead of edit the code.
Reminder:
Quote:
If you want to give invisible reward, do not enable the glow and aura reward. This is because there is no use if you are invisible, yet you has glow and an aura. ;)

Last edited by zmd94; 09-02-2014 at 12:17.
zmd94 is offline
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 07:15.


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