This Is a quick force field i remade from the svt mod menu i wrote out the code for people doint spam the thread on how to use it
and because the forms is dead asf now
bool fieldloop = false;
addBoolOption("Svt Force Field", fieldloop);
case 1:
fieldloop = !fieldloop;
break;
if (fieldloop)
{
Vector3 Position = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(PLAYER::PLAYER_ID()), 0);
FIRE::ADD_EXPLOSION(Position.x, Position.y, Position.z, BLIMP, FLT_MAX, false, true, 0.0f);
FIRE::ADD_EXPLOSION(Position.x, Position.y, Position.z, TRAIN, FLT_MAX, false, true, 0.0f);
Draw_Marker(PLAYER::PLAYER_PED_ID(), 28, 255, 0, 0, 100, fieldloop);
}
void Draw_Marker(int Entity, int type, int Red, int Green, int Blue, int Alpha, float Scale)//2
{
Vector3 Player = ENTITY::GET_ENTITY_COORDS(Entity, 1);
Vector3 rotation = CAM::GET_GAMEPLAY_CAM_ROT_V2(0);
GRAPHICS::DRAW_MARKER(type, Player.x, Player.y, Player.z, rotation.x, rotation.y, rotation.z, 180.0f, 0.0f, 0.0f, Scale, Scale, Scale, Red, Green, Blue, Alpha, false, true, 2, false, false, false, false);
}
and because the forms is dead asf now
bool fieldloop = false;
addBoolOption("Svt Force Field", fieldloop);
case 1:
fieldloop = !fieldloop;
break;
if (fieldloop)
{
Vector3 Position = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(PLAYER::PLAYER_ID()), 0);
FIRE::ADD_EXPLOSION(Position.x, Position.y, Position.z, BLIMP, FLT_MAX, false, true, 0.0f);
FIRE::ADD_EXPLOSION(Position.x, Position.y, Position.z, TRAIN, FLT_MAX, false, true, 0.0f);
Draw_Marker(PLAYER::PLAYER_PED_ID(), 28, 255, 0, 0, 100, fieldloop);
}
void Draw_Marker(int Entity, int type, int Red, int Green, int Blue, int Alpha, float Scale)//2
{
Vector3 Player = ENTITY::GET_ENTITY_COORDS(Entity, 1);
Vector3 rotation = CAM::GET_GAMEPLAY_CAM_ROT_V2(0);
GRAPHICS::DRAW_MARKER(type, Player.x, Player.y, Player.z, rotation.x, rotation.y, rotation.z, 180.0f, 0.0f, 0.0f, Scale, Scale, Scale, Red, Green, Blue, Alpha, false, true, 2, false, false, false, false);
}
Judge Judy Is Sexy Asf Can We All Agree?
& Lets Stop The Cracking War M8s )
(Make Modding Fun Again )
& Lets Stop The Cracking War M8s )
(Make Modding Fun Again )