Color Transparency
#9

Alright now with all of those stuffs setted up, I have no idea on how will I do the fade in/out effect but I have already setted up the function & the timer.

PHP Code:
stock ShowPlayerObjective(playeridcolorstring[], time)
{
    
PlayerTextDrawSetString(playeridplayer_Textdraw[playerid][0], string);
    
PlayerTextDrawColor(playeridplayer_Textdraw[playerid][0], color);
    
PlayerTextDrawShow(playeridplayer_Textdraw[playerid][0]);
    
PlayerInfo[playerid][ptdTimer] = SetTimerEx("TextdrawFadeOut"100true"ddds"playeridcolortimestring);
    return 
1;
}

public 
TextdtawFadeOut(playeridcolortimestring[])
{
    
PlayerInfo[playerid][ptdCount] += 1000;


Reply


Messages In This Thread
Color Transparency - by JaKe Elite - 26.09.2017, 12:51
Re: Color Transparency - by Skream - 26.09.2017, 12:53
Re: Color Transparency - by JaKe Elite - 26.09.2017, 12:55
Re: Color Transparency - by GustavoKarasek - 26.09.2017, 12:55
Re: Color Transparency - by AbyssMorgan - 26.09.2017, 12:57
Re: Color Transparency - by Skream - 26.09.2017, 12:57
Re: Color Transparency - by JaKe Elite - 26.09.2017, 13:11
Re: Color Transparency - by OneDay - 26.09.2017, 13:18
Re: Color Transparency - by JaKe Elite - 26.09.2017, 13:25
Re: Color Transparency - by NaS - 26.09.2017, 13:54
Re: Color Transparency - by JaKe Elite - 26.09.2017, 14:16
Re: Color Transparency - by NaS - 26.09.2017, 15:00
Re: Color Transparency - by JaKe Elite - 27.09.2017, 05:13
Re: Color Transparency - by NaS - 27.09.2017, 07:15
Re: Color Transparency - by JaKe Elite - 27.09.2017, 11:18
Re: Color Transparency - by JaKe Elite - 27.09.2017, 11:37

Forum Jump:


Users browsing this thread: 3 Guest(s)