Issues with a function.
#4

Here it is:

pawn Код:
stock StopCutsceneForPlayer(playerid)
{
    if(pInCutscene[playerid] == 0)
    {
        //
    }
    else
    {
        SetTimerEx("RemoveTextDraw", 1, false, "i",_:WIDESCREEN_TOP[playerid]);
        SetTimerEx("RemoveTextDraw", 1, false, "i",_:WIDESCREEN_BOTTOM[playerid]);
        SetTimerEx("RemoveTextDraw", 1, false, "i",_:WIDESCREEN_TOP1[playerid]);
        SetTimerEx("RemoveTextDraw", 1, false, "i",_:WIDESCREEN_BOTTOM1[playerid]);
        SetTimerEx("RemoveTextDraw", 1, false, "i",_:TOP_TEXT1[playerid]);
        SetTimerEx("RemoveTextDraw", 1, false, "i",_:TOP_TEXT2[playerid]);
        SetTimerEx("RemoveTextDraw", 1, false, "i",_:BOTTOM_TEXT1[playerid]);
        SetTimerEx("RemoveTextDraw", 1, false, "i",_:BOTTOM_TEXT2[playerid]);
        pInCutscene[playerid] = 0;
    }
    return 1;
}
And because I forgot about it.. ^^
Reply


Messages In This Thread
Issues with a function. - by vIBIENNYx - 26.09.2012, 10:47
Re: Issues with a function. - by Rimeau - 26.09.2012, 10:55
Re: Issues with a function. - by Emmet_ - 26.09.2012, 10:58
Re: Issues with a function. - by vIBIENNYx - 26.09.2012, 11:07
Re: Issues with a function. - by Emmet_ - 26.09.2012, 11:13
Re: Issues with a function. - by vIBIENNYx - 26.09.2012, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)