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

Bomb Defuse Predictions v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
matsi
Thinkosaur
Join Date: Sep 2006
Old 01-28-2010 , 12:38   Re: Bomb Defuse Predictions v1.1
Reply With Quote #11

Quote:
Originally Posted by hleV View Post
You should could use #define for strings since you're using these multiple times in your code.
matsi is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 01-28-2010 , 12:38   Re: Bomb Defuse Predictions v1.1
Reply With Quote #12

Quote:
Originally Posted by hleV View Post
You should use #define for strings since you're using these multiple times in your code.
im working in a better version, please wait
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 01-28-2010 , 12:54   Re: Bomb Defuse Predictions v1.2
Reply With Quote #13

Code optimized, check main post
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 01-28-2010 , 12:56   Re: Bomb Defuse Predictions v1.2
Reply With Quote #14

Maybe add something that you can buy a prediction controle able by cvar.

so you can set it that you always have predections untill you die or when you used 1 predection you lost it.
__________________
I am out of order!
grimvh2 is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-28-2010 , 13:11   Re: Bomb Defuse Predictions v1.2
Reply With Quote #15

Better English translation, and the Dutch one
Quote:
[en]
YOU_HAVE_TIME = Calm Down. You have enough time to defuse the bomb!
YOU_DONT_HAVE_TIME = Run! You dont have enough time to defuse the bomb!

[nl]
YOU_HAVE_TIME = Rustig. Je hebt genoeg tijd om de bom te ontmantelen!
YOU_DONT_HAVE_TIME = Loop! Je hebt niet genoeg tijd om de bom te ontmantelen!
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Romper
Junior Member
Join Date: Jan 2010
Old 01-28-2010 , 13:14   Re: Bomb Defuse Predictions v1.2
Reply With Quote #16

Russian translate:
Quote:
[ru]
YOU_HAVE_TIME = Tishe, u tebja dostatochno vremeni, dlja obezvrezhivanija bomby
YOU_DONT_HAVE_TIME = Begi!, u tebja ne dostatochno vremeni, chtoby obezvredit' bombu
Romper is offline
Send a message via ICQ to Romper Send a message via Skype™ to Romper
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 01-28-2010 , 13:36   Re: Bomb Defuse Predictions v1.2
Reply With Quote #17

Quote:
Originally Posted by crazyeffect View Post
Better English translation, and the Dutch one
Quote:
Originally Posted by Romper View Post
Russian translate:
Thanks, added
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-28-2010 , 13:44   Re: Bomb Defuse Predictions v1.2
Reply With Quote #18

You are wrong, offset 99 is the time when the bomb gonna be defused, if you want the explode time use cstrike native cs_get_c4_expl...
You haven't understood why offset 99 can be usefull for you, check again the code i gave you ;)
About BarTime, the byte passed is the defuse time.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 01-28-2010 , 13:56   Re: Bomb Defuse Predictions v1.2
Reply With Quote #19

Quote:
Originally Posted by ConnorMcLeod View Post
You are wrong, offset 99 is the time when the bomb gonna be defused, if you want the explode time use cstrike native cs_get_c4_expl...
You haven't understood why offset 99 can be usefull for you, check again the code i gave you ;)
I use offset 99 to prevent check if u have defuse or not.

offset 99 - get_gametime() returns the time for defuse the bomb (if you have defuser returns 5 secs if u dont have defuser returns 10 sec)

To get c4 explode time, i used ur code (From your plugin "C4 Sprite Timer")
that code is bad?

Quote:
About BarTime, the byte passed is the defuse time.
Yes, i know that

and by the way, the plugin is working correctly

EDIT: I cannot test ur plugin, it crash my server
__________________
Find my plugins here..

Ex - Spanish Moderator.

Last edited by Starsailor; 01-28-2010 at 14:04.
Starsailor is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-28-2010 , 14:22   Re: Bomb Defuse Predictions v1.1
Reply With Quote #20

Quote:
Originally Posted by hleV View Post
You should use #define for strings since you're using these multiple times in your code.
When a string is used multiple times in a plugin, a define is not recommanded, const is better.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 11:01.


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