Regeneration Fade
#1

Okay i'm trying to make it so if a players health is 20 or lower, it slowly fades the screen in and out until it regenerates higher then 20.

I'm using seifader. this is what I tried to do;

if(pHealth <= 20)
{
FadeColorForPlayer(playerid,255,0,0,0,255,0,0,255, 25,1000);
return 1;
}

It give's me error's and I don't know how to make it slowly fade back into normal.

Errors: error 010: invalid function or declaration (phealth part)
error 021: symbol already defined: "FadeColorForPlayer" (FadeColorForPlayer part)
error 010: invalid function or declaration (return 1

I want it to be like call of duty regeneration (not perfect but something like it)
Reply


Messages In This Thread
Regeneration Fade - by Postalityjr - 21.06.2011, 01:04
Re: Regeneration Fade - by Basicz - 21.06.2011, 03:30

Forum Jump:


Users browsing this thread: 2 Guest(s)