Raised This Month: $ Target: $400
 0% 

Buy a Bomb v2.0 (UPDATED)


Post New Thread Reply   
 
Thread Tools Display Modes
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-16-2007 , 21:44   Re: Buy a Bomb(v1.5)
Reply With Quote #11

VERSION 1.5 RELEASED - MORE FEATURES / FIXED CODE.
SEE CHANGE-LOG AT MAINPOST.

Yamikaito, I added what you requested.
X-Script is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-16-2007 , 22:49   Re: Buy a Bomb(v1.5)
Reply With Quote #12

Can I get someone to confirm it works 100% for the mods Counter-Strike and Condition-Zero.
I tested it on both mods and it works perfectly, but I need feedback from others too.
X-Script is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 08-17-2007 , 00:07   Re: Buy a Bomb(v1.5)
Reply With Quote #13

I'll go test!
__________________
I am 52% addicted to Counterstrike. What about you?
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-17-2007 , 00:08   Re: Buy a Bomb(v1.5)
Reply With Quote #14

Thank you Toster, please reply back with your results.
I'll make credits inside the .sma file including you, and credits on the main-post including you.
X-Script is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 08-17-2007 , 00:22   Re: Buy a Bomb(v1.5)
Reply With Quote #15

I get this:


L 08/17/2007 - 07:225: Invalid player id 0
L 08/17/2007 - 07:225: [AMXX] Displaying debug trace (plugin "buy_a_bomb.amxx")
L 08/17/2007 - 07:225: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 08/17/2007 - 07:225: [AMXX] [0] 19192.attach::c4gravity (line 40)

CS, de_dust2
__________________
I am 52% addicted to Counterstrike. What about you?
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-17-2007 , 00:25   Re: Buy a Bomb(v1.5)
Reply With Quote #16

I have no idea what the last two mean at all.
Does the plugin succesfully run though?
X-Script is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 08-17-2007 , 00:29   Re: Buy a Bomb(v1.5)
Reply With Quote #17

No, I set amx_bombcost to 100 (so I can buy it faster), give my bomb to a bot, when I say /buybomb nothing happens (I can't even see it in chat)

I suggest adding in beginning of c4gravity(id):
Code:
if(id==0)return PLUGIN_HANDLED
__________________
I am 52% addicted to Counterstrike. What about you?

Last edited by Toster v2.1; 08-17-2007 at 00:32.
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-17-2007 , 00:30   Re: Buy a Bomb(v1.5)
Reply With Quote #18

Thats very odd, because it works with my Condition-Zero 24/7 server perfectly; everything was tested and it went 100%. You do know you have to type in amx_cvar amx_bombcost 100 in the console since it's a cvar.
X-Script is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 08-17-2007 , 00:33   Re: Buy a Bomb(v1.5)
Reply With Quote #19

I was testing on LAN, wait I'll turn on the server...
__________________
I am 52% addicted to Counterstrike. What about you?
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-17-2007 , 00:35   Re: Buy a Bomb(v1.5)
Reply With Quote #20

Now go ahead and re-download the plugin I fixed what was wrong. Stupid tag mismatches.
;)

Last edited by X-Script; 08-17-2007 at 00:38.
X-Script 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 15:11.


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