Raised This Month: $ Target: $400
 0% 

Flashbang


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
keVn
Member
Join Date: Jun 2006
Old 07-12-2006 , 22:08   Re: Flashbang
Reply With Quote #1

Well would anybody know how to charge for advertisement?
keVn is offline
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-10-2006 , 20:33   Re: Flashbang
Reply With Quote #2

no one has helped him yet, so i would rather try than leave him hanging
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
Shurik3n
Member
Join Date: Feb 2006
Old 07-10-2006 , 20:36   Re: Flashbang
Reply With Quote #3

I helped him improve the radius and now I am helping him understand sending a ScreenFade message.
Code:
message_begin(MSG_ONE,gmsgFade,{0,0,0},players[i]) write_short(1<<15)   // fade lasts this long duration write_short(1<<12)   // fade lasts this long hold time write_short(1<<12)   // fade type write_byte(255)   // fade red write_byte(255)   // fade green write_byte(255)     // fade blue write_byte(255)     // fade alpha message_end() //end the message

So, changing the first write_short to 1<<20 would make the fade last longer. While changing the second to say... 1<<18 would make your screen stay all white longer.

Last edited by Shurik3n; 07-10-2006 at 20:49.
Shurik3n is offline
keVn
Member
Join Date: Jun 2006
Old 07-11-2006 , 14:42   Re: Flashbang
Reply With Quote #4

Actually, those dont really work Shurik3n.
I've set the radius and the fade duration and time at a dramatic amount.
Do you think someone might be able to make their own flashbang and give it to me? lol.
keVn is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 07-11-2006 , 15:59   Re: Flashbang
Reply With Quote #5

Try this
Code:
if(get_distance(origin,p_origin) < 80) {     message_begin(MSG_ONE,gmsgFade,{0,0,0},players[i])     write_short( 102400 )     write_short( 22756 )     write_short( 0 )     write_byte( 255 )     write_byte( 255 )     write_byte( 255 )     write_byte( 255 )     message_end() }
VEN is offline
keVn
Member
Join Date: Jun 2006
Old 07-12-2006 , 21:51   Re: Flashbang
Reply With Quote #6

Nope doesn't work... I've fooled around with everything.. its either the wrong place to edit it, or it can't be edited. Anyways thanks for the help.
keVn is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 07-13-2006 , 09:51   Re: Flashbang
Reply With Quote #7

Quote:
Nope doesn't work...
Seems like it's your fault, my code should work.
VEN is offline
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 07-13-2006 , 19:40   Re: Flashbang
Reply With Quote #8

God, don't scripters listen?

Some silly twat (excuse my french) started this mishap off, there is only 3 fade types, IN/OUT/HOLD which are (1<<0), (1<<1) and (1<<2).

Why am I still seeing (1<<12) :S

Code:
message_begin(MSG_ONE,gmsgFade,{0,0,0},player s[i]) write_short( 1<<15 ) write_short( 1<<12 ) write_short( 1<<12 ) // this is the line I'm referring too write_byte( 255 ) write_byte( 255 ) write_byte( 255 ) write_byte( 255 ) message_end()

Last edited by Orangutanz; 07-13-2006 at 19:43.
Orangutanz is offline
keVn
Member
Join Date: Jun 2006
Old 07-12-2006 , 22:09   Re: Flashbang
Reply With Quote #9

Would anybody know how to edit the advert command so that it charges for every advert message?

// Argh, theres a #16 reply that I posted but I don't see it.
// so I'm posting this one just incase.
keVn is offline
Shurik3n
Member
Join Date: Feb 2006
Old 07-13-2006 , 19:36   Re: Flashbang
Reply With Quote #10

I bet hes not recompiling the plugins or something... >.<
__________________
+Karma if I helped.
Shurik3n 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 08:01.


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