if(xStraquaz.xPlayer.InvisibleMode)
{
if(xStraquaz.xPlayer.TeleKill == 1 || xStraquaz.xPlayer.GhostMode == 1)
bInvisibleModeSetOnce = false;
else
bInvisibleModeSetOnce = true;
if(bInvisibleModeSetOnce)
{
if(*(long*) dwPlayerStatus == 1)
*(long*) dwPlayerStatus = -5;
}
}
else if(xStraquaz.xPlayer.InvisibleMode == 0)
{
if(xStraquaz.xPlayer.TeleKill == 1 || xStraquaz.xPlayer.GhostMode == 1)
bInvisibleModeSetOnce = false;
else
bInvisibleModeSetOnce = true;
if(bInvisibleModeSetOnce)
{
if(*(long*)dwPlayerStatus == -5)
*(long*)dwPlayerStatus = 1;
}
}
