Code:
if (SilkRoad_SoftCrash)
{
CAM::_ANIMATE_GAMEPLAY_CAM_ZOOM(0.0f, 200.0f);
bool Cam = true;
if (Cam)
{
char* Name = PLAYER::GET_PLAYER_NAME(selectedPlayer);
Vector3 Coords = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(selectedPlayer), true);
ShowMessageOnScreen("~r~ALERT~s~: Attacking %s Stand Back! Timer: &i", Name, crash);
crash++;
AddCoordExplosion(Coords.x, Coords.y, Coords.z, PROPANE, true, true);
AddCoordExplosion(Coords.x, Coords.y, Coords.z, BLIMP, true, true);
AddCoordExplosion(Coords.x, Coords.y, Coords.z, PROPANE, true, true);
AddCoordExplosion(Coords.x, Coords.y, Coords.z, BLIMP, true, true);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
TakeMoney(9999999, selectedPlayer);
if (crash >= 200)
{
crash = 0;
SilkRoad_SoftCrash = false;
Cam = false;
}
}
}
int crash = 0;