if (PlayerQuick)
{
GRAPHICS::DRAW_SPRITE("frontend", "gtav_logo", 0.14f, 0.415f, 0.204f, 0.104f, 0.0f, 0, 0, 0, 100);// Background left
PrintToScreen((PLAYER::GET_PLAYER_NAME(selectedPlayer)), 0.061f, 0.36f, 255, 65, 0, 255, 0.6500f, 0.8500f, 0, 6); // Info Left
PrintToScreen((PLAYER::GET_PLAYER_NAME(selectedPlayer)), 0.0622f, 0.3612f, 255, 255, 255, 255, 0.6500f, 0.8500f, 0, 6); // Info Left
if (PLAYER::IS_PLAYER_DEAD(selectedPlayer))
{
PrintToScreen(" ~w~Status:", 0.215f, 0.366f, 255, 65, 0, 255, 0.3200f, 0.3200f, 0, 6);
PrintToScreen("[muerto!]", 0.215f, 0.386f, 10, 250, 255, 255, 0.3200f, 0.3200f, 0, 6);
}
else
{
PrintToScreen(" ~w~Status:", 0.215f, 0.366f, 255, 65, 0, 255, 0.3200f, 0.3200f, 0, 6);
PrintToScreen("[vivo!]", 0.215f, 0.386f, 10, 250, 255, 255, 0.3200f, 0.3200f, 0, 6);
}
GRAPHICS::DRAW_SPRITE("frontend", "gtav_logo", 0.14f, 0.49f, 0.204f, 0.154f, 0.0f, bannerRectRed, bannerRectGreen, bannerRectBlue, 180);// Background left
GRAPHICS::DRAW_SPRITE("frontend", "gtav_logo", 0.14f, 0.49f, 0.20f, 0.15f, 0.0f, 25, 25, 25, 255);// Background left
GRAPHICS::DRAW_SPRITE("shared", "bggradient_32x1024", 0.14f, 0.46f, 0.20f, 0.09f, 0.0f, 25, 25, 25, 140);//BG Shader
GRAPHICS::DRAW_SPRITE("commonmenutu", "rockstar", 0.225f, 0.44f, 0.025f, 0.025f, 0.0f, 0, 0, 0, 250);//RockStar Logo
PrintToScreen(" ~w~Press ~b~[LB] ~w~teleport to player", 0.06f, 0.42f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
PrintToScreen(" ~w~Press ~b~[RB] ~w~give money", 0.06f, 0.44f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
PrintToScreen(" ~w~Press ~b~[Dpad_Right] ~w~take money", 0.06f, 0.46f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
PrintToScreen(" ~w~Press ~b~[Dpad_Left] ~w~kill player", 0.06f, 0.48f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
PrintToScreen(" ~w~Press ~b~[Back] ~w~exit menu", 0.06f, 0.50f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
if (CONTROLS::IS_CONTROL_PRESSED(0, Button_Back))
{
PlayerQuick = false;
}
if (CONTROLS::IS_CONTROL_PRESSED(0, Button_L1))
{
PrintToScreen("~b~>>>", 0.045f, 0.42f, bannerRectRed, bannerRectGreen, bannerRectBlue, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
Ped ped = PLAYER::PLAYER_PED_ID();
Vector3 coords1101;
coords1101 = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(selectedPlayer), 1);
Entity entityToTele = ped;
if (PED::IS_PED_SITTING_IN_ANY_VEHICLE(ped))
entityToTele = PED::GET_VEHICLE_PED_IS_USING(ped);
ENTITY::SET_ENTITY_COORDS(entityToTele, coords1101.x, coords1101.y, coords1101.z, false, false, false, true);
Vector3 PedCoords = ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), true);
STREAMING::LOAD_ALL_OBJECTS_NOW();
}
if (CONTROLS::IS_CONTROL_PRESSED(0, Button_R1))
{
PrintToScreen("~b~>>>", 0.045f, 0.44f, bannerRectRed, bannerRectGreen, bannerRectBlue, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
Cash_Drop40K = !Cash_Drop40K;
}
if (CONTROLS::IS_CONTROL_PRESSED(0, Dpad_Right))
{
PrintToScreen("~b~>>>", 0.045f, 0.46f, bannerRectRed, bannerRectGreen, bannerRectBlue, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
WEAPON::REMOVE_ALL_PED_WEAPONS(PLAYER::GET_PLAYER_PED(selectedPlayer), 0);
}
if (CONTROLS::IS_CONTROL_PRESSED(0, Dpad_Left))
{
PrintToScreen("~b~>>>", 0.045f, 0.48f, bannerRectRed, bannerRectGreen, bannerRectBlue, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
Explode_Player = !Explode_Player;
}
}
{
GRAPHICS::DRAW_SPRITE("frontend", "gtav_logo", 0.14f, 0.415f, 0.204f, 0.104f, 0.0f, 0, 0, 0, 100);// Background left
PrintToScreen((PLAYER::GET_PLAYER_NAME(selectedPlayer)), 0.061f, 0.36f, 255, 65, 0, 255, 0.6500f, 0.8500f, 0, 6); // Info Left
PrintToScreen((PLAYER::GET_PLAYER_NAME(selectedPlayer)), 0.0622f, 0.3612f, 255, 255, 255, 255, 0.6500f, 0.8500f, 0, 6); // Info Left
if (PLAYER::IS_PLAYER_DEAD(selectedPlayer))
{
PrintToScreen(" ~w~Status:", 0.215f, 0.366f, 255, 65, 0, 255, 0.3200f, 0.3200f, 0, 6);
PrintToScreen("[muerto!]", 0.215f, 0.386f, 10, 250, 255, 255, 0.3200f, 0.3200f, 0, 6);
}
else
{
PrintToScreen(" ~w~Status:", 0.215f, 0.366f, 255, 65, 0, 255, 0.3200f, 0.3200f, 0, 6);
PrintToScreen("[vivo!]", 0.215f, 0.386f, 10, 250, 255, 255, 0.3200f, 0.3200f, 0, 6);
}
GRAPHICS::DRAW_SPRITE("frontend", "gtav_logo", 0.14f, 0.49f, 0.204f, 0.154f, 0.0f, bannerRectRed, bannerRectGreen, bannerRectBlue, 180);// Background left
GRAPHICS::DRAW_SPRITE("frontend", "gtav_logo", 0.14f, 0.49f, 0.20f, 0.15f, 0.0f, 25, 25, 25, 255);// Background left
GRAPHICS::DRAW_SPRITE("shared", "bggradient_32x1024", 0.14f, 0.46f, 0.20f, 0.09f, 0.0f, 25, 25, 25, 140);//BG Shader
GRAPHICS::DRAW_SPRITE("commonmenutu", "rockstar", 0.225f, 0.44f, 0.025f, 0.025f, 0.0f, 0, 0, 0, 250);//RockStar Logo
PrintToScreen(" ~w~Press ~b~[LB] ~w~teleport to player", 0.06f, 0.42f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
PrintToScreen(" ~w~Press ~b~[RB] ~w~give money", 0.06f, 0.44f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
PrintToScreen(" ~w~Press ~b~[Dpad_Right] ~w~take money", 0.06f, 0.46f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
PrintToScreen(" ~w~Press ~b~[Dpad_Left] ~w~kill player", 0.06f, 0.48f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
PrintToScreen(" ~w~Press ~b~[Back] ~w~exit menu", 0.06f, 0.50f, 250, 0, 0, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
if (CONTROLS::IS_CONTROL_PRESSED(0, Button_Back))
{
PlayerQuick = false;
}
if (CONTROLS::IS_CONTROL_PRESSED(0, Button_L1))
{
PrintToScreen("~b~>>>", 0.045f, 0.42f, bannerRectRed, bannerRectGreen, bannerRectBlue, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
Ped ped = PLAYER::PLAYER_PED_ID();
Vector3 coords1101;
coords1101 = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(selectedPlayer), 1);
Entity entityToTele = ped;
if (PED::IS_PED_SITTING_IN_ANY_VEHICLE(ped))
entityToTele = PED::GET_VEHICLE_PED_IS_USING(ped);
ENTITY::SET_ENTITY_COORDS(entityToTele, coords1101.x, coords1101.y, coords1101.z, false, false, false, true);
Vector3 PedCoords = ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), true);
STREAMING::LOAD_ALL_OBJECTS_NOW();
}
if (CONTROLS::IS_CONTROL_PRESSED(0, Button_R1))
{
PrintToScreen("~b~>>>", 0.045f, 0.44f, bannerRectRed, bannerRectGreen, bannerRectBlue, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
Cash_Drop40K = !Cash_Drop40K;
}
if (CONTROLS::IS_CONTROL_PRESSED(0, Dpad_Right))
{
PrintToScreen("~b~>>>", 0.045f, 0.46f, bannerRectRed, bannerRectGreen, bannerRectBlue, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
WEAPON::REMOVE_ALL_PED_WEAPONS(PLAYER::GET_PLAYER_PED(selectedPlayer), 0);
}
if (CONTROLS::IS_CONTROL_PRESSED(0, Dpad_Left))
{
PrintToScreen("~b~>>>", 0.045f, 0.48f, bannerRectRed, bannerRectGreen, bannerRectBlue, 255, 0.4000f, 0.4000f, 0, 6); // Info Left
Explode_Player = !Explode_Player;
}
}