31.01.2013, 13:24
pawn Код:
case 1:
{
AlphaValue[playerid] += 5;
PlayerTextDrawBoxColor(playerid, SerwerData[E_PLAYER_DARK_SCREEN], 0x000000(AA)?);
if(AlphaValue[playerid] == 255)
{
Phase[playerid] = 2;
SetPlayerPos(playerid, X, Y, Z);
SetPlayerFacingAngle(playerid, A);
SetPlayerInterior(playerid, Interior);
SetPlayerVirtualWorld(playerid, Virtualworld);
}
}
case 2:
{
AlphaValue[playerid] -= 5;
PlayerTextDrawBoxColor(playerid, SerwerData[E_PLAYER_DARK_SCREE], 0x000000(AA)?);
if(AlphaValue[playerid] == 255)Phase[playerid] = -1;
}
}