try this void addVehicleOption(char *option, Hash vehicle, char* Streamedtexture = NULL, char* texturename = NULL, char *info = NULL)
{
addOption(option, info);
if (currentOption == optionCount)
{
DrawSprite1("www_legendarymotorsport_net", "lms_texture_1", 0.5550, 0.2600, 0.2350, 0.2250, 0, 255, 255, 255, backgroundOpacity);
DrawSprite1(Streamedtexture, texturename, 0.5550, 0.4100, 0.2350, 0.2250, 0, 255, 255, 255, backgroundOpacity);
xInstruction = true;
if (optionPress && STREAMING::IS_MODEL_VALID(vehicle))
{
vehicleToSpawnHash = vehicle;
vehicleSpawnNeeded = true;
deleteMyVeh = true;
NotifyAboveMap3(option, "Spawned");
STREAMING::REQUEST_MODEL(vehicle);
STREAMING::_REQUEST_DLC_PTFX_ASSET("proj_xmas_firework");
GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL("proj_xmas_firework");
GRAPHICS::START_PARTICLE_FX_NON_LOOPED_ON_ENTITY("scr_firework_xmas_burst_rgw", PLAYER::PLAYER_PED_ID(), 0.0, 0.0, -0.5, 0.0, 0.0, 0.0, 1.0, false, false, false);
}
}
}
Judge Judy Is Sexy Asf Can We All Agree?
& Lets Stop The Cracking War M8s
)
(Make Modding Fun Again
)