ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1569

Help TEORIC

by EMILG0NZA - 09-21-2019 - 02:11 AM
#1
Well i have a Skid code of the Pic of the cars but i select and the only thing happen is the PTFX And the Vehicule dont Spawn
Help
Reply
#2
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?  Love
& Lets Stop The Cracking War M8s Devil )
(Make Modding Fun Again 100emoji   )
Reply

Users browsing: 2 Guest(s)