Message

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

public @Charging( MsgID, dest, Client )

if(get_msg_arg_int(1) > 1 && CurrentWeaponIndex[Client] == 22 && !


Aura[Client] && getClientDATAc(Client, cliClass) == getCXbyName("Gogeta-S"))
{
ChargePercentage[Client] = get_msg_arg_int( 1 )
Aura[Client] = true
AddFx( Client, "fxModelEntity", "models/evolution/gq.mdl", 0, 5, 0.0,
0, 0, 0, 1.0, 1.0, 0, 1 );
AddFx( Client, "fxBlow" );
AddFx( Client, "fxScreenShake", 20.0, 5.0, 10.0 );
AddFx( Client, "fxSpriteEntity","sprites/ssgss.spr", 0, 0, 100.0, 10.0,
1.0, 0.4 );
AddFx( Client, "fxBeamTorus", "sprites/lgtning.spr", 255, 255, 255,
255, 250, 100, 40, 0 );
AddFx( Client, "fxSprite", "sprites/onda.spr", 7, 255, 0, 0, 0 );
AddFx( Client, "fxSprite", "sprites/onda2.spr", 4, 255, 0, 0, 0 );
}
if( get_msg_arg_int( 1 ) == 0 )
{
RemFx( Client, "fxModelEntity", 0);
RemFx( Client, "fxModelEntity", 0);
RemFx( Client, "fxModelEntity", 0);
RemFx( Client, "fxSpriteEntity", 0);
RemFx( Client, "fxSpriteEntity", 0);
RemFx( Client, "fxLgtField", 0);
RemFx( Client, "fxPowerup", 0);
RemFx( Client, "fxCSpriteRays", 0);
RemFx( Client, "fxSmokeField", 0 );
RemFx( Client, "fxSpriteField", 0 );
RemFx( Client, "fxSmokeField", 0);
RemFx( Client, "fxSmokeField", 0);
RemFx( Client, "fxSmokeField", 0);
Aura[Client] = false
client_cmd(Client, "cam_idealdist 50" )
client_cmd( Client, "resetview" );
}
if(get_msg_arg_int(1) > 30 && CurrentWeaponIndex[Client] == 13 && !
Aura[Client] && getClientDATAc(Client, cliClass) == getCXbyName("Gogeta-S"))
{
Aura[Client] = true
AddFx( Client, "fxSpriteField", "sprites/xflare1.spr", 0.1, 1, 255,
200, 400 );
}
if(get_msg_arg_int(1) > 30 && CurrentWeaponIndex[Client] == 13 &&
getClientDATAc(Client, cliClass) == getCXbyName("Gogeta-S"))
{
Aura[Client] = true
AddFx( Client, "fxPowerWave", "sprites/white.spr", 180, 145, 120, 30,
250 );
}
}

You might also like