black screen fade
what is the script to fade a person screen black for 15 seconds?
|
Re: black screen fade
What to add in plugin:
Code:
new g_MaxPlayers; Code:
// plr is the player index Code:
public my_func(id) |
Re: black screen fade
Well, apparently, you can't copy my code correctly.
So, I'll change the tags to [code] tags. And the id is the index that you are using in the plugin. If you don't know how to use simple functions, I can't help you. |
Re: black screen fade
lol sorry i kidna think i found out how to use it but can u make it [code] please, im just a little tired
|
Re: black screen fade
it works great thank you alot
|
Re: black screen fade
im kinda having a time issue im using this atm
Code:
make_ScreenFade(id, get_cvar_float("rules_hudmessage_time"), 0, 0, 0, 255); edited* i noticed u cant do more then 30 seconds so i thought i could do like a set_task but im not sure how to do it.. this is what im currently doing Code:
public my_func(id) |
Re: black screen fade
Code:
public my_func(id) |
Re: black screen fade
woot it works perfectly now, but is there a way to put something in it so it waits till the player is dead and then it does the screen fades?
|
Re: black screen fade
Quote:
Code:
mp_fadetoblack 1 |
Re: black screen fade
well what i doing is having a black screen pop up and then the rules for our server in a hud message but i want this to happen once the player dies, think you can write what i need to put in the script please.
mabye something like if(!is_user_alive(id)) { my_func(id) } or put like a set task on it so it will wait till the user dies or something and then does my function |
All times are GMT -4. The time now is 03:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.