Load IPL and Enable Prop in SOLO
-
Hi.
I want to use mapeditor in a building which require IPL loading and prop enabling (Smuggler's Run Hangar). So i create a little .cs script but it doesn't work, nothing spawn.If someone can help me please, thanks
using GTA;
using GTA.Native;
using GTA.Math;
using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.IO;
using System.Drawing;
using System.Media;public class Mapping : Script
{
public Mapping()
{Function.Call(Hash.REQUEST_IPL, "sm_smugdlc_interior_placement_interior_0_smugdlc_int_01_milo_"); Function.Call(Hash.LOAD_INTERIOR, 260353); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_lighting_hangar_a"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_tint_shell"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_bedroom_tint"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_crane_tint"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_modarea"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_lighting_tint_props"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_floor_1"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_floor_decal_9"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_bedroom_modern"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_office_modern"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_bedroom_blinds_open"); Function.Call(Hash.ENABLE_INTERIOR_PROP, 260353, "set_lighting_wall_tint01"); }
}