Raised This Month: $ Target: $400
 0% 

hm no: setScreenFlash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
graczu
Senior Member
Join Date: Mar 2006
Old 03-23-2006 , 18:59   hm no: setScreenFlash
Reply With Quote #1

what function is now: setScreenFlash

plz....

i cant do this:
Code:
	new czas = 60
	new jac1=random_num(0,255)
	new jac2=random_num(0,255)
	new jac3=random_num(0,255)	

	set_hudmessage(jac1, jac2, jac3, 0.65, 0.75, 2, 0.02, 1.0, 0.01, 0.1, 10)  
	show_hudmessage(0,"=============^nWAIT!! WAIT!! WAIT!!^nRESTART ZA: %i sec^n=============", czas) 
	czas--
	new inum = get_maxplayers();
	for (new i=1;i <= inum;i++){
			setScreenFlash(i, jac1, jac2, jac3, 10, 50 )
		}
with out this function ;x
graczu is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 03-24-2006 , 02:35  
Reply With Quote #2

what?
VEN is offline
akysiev
Junior Member
Join Date: Mar 2006
Location: Earth
Old 03-24-2006 , 07:04  
Reply With Quote #3

That function belongs to either the plugin itself or a custom include file.
akysiev is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-24-2006 , 07:28  
Reply With Quote #4

Quote:
Originally Posted by akysiev
That function belongs to either the plugin itself or a custom include file.
Oh, I thought it was an AMX Mod X native

Thank you, Cpt. Obvious.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
akysiev
Junior Member
Join Date: Mar 2006
Location: Earth
Old 03-24-2006 , 08:36  
Reply With Quote #5

v3x, he asked where/what the function is and was obviously under the impression that it was a native. I don't see what's wrong with my answer.
akysiev is offline
Werewolf
Senior Member
Join Date: Jan 2006
Location: Sweden
Old 03-24-2006 , 17:41  
Reply With Quote #6

You can do like this. (Copied from pokemod.sma)
Code:
 setScreenFlash(id, r, g, b, alpha)  {     message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id)     write_short( 1<<10 )     write_short( 1<<10 )     write_short( 1<<12 )     write_byte( r )     write_byte( g )     write_byte( b )     write_byte( alpha )     message_end()  }

1 question. Why do you have 6 hmm... Well what should we call it?
Thingies
i, jac1, jac2, jac3, 10, 50
Why 6 of them? You need the index, red amount, green amount, blue amount, alpha. The red green and blue is rgb colors btw.
__________________
~~~~~Hawk~~~~~
Werewolf 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 16:36.


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