SF Construction Site objects ( MTA & Jernjel ) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SF Construction Site objects ( MTA & Jernjel ) (
/showthread.php?tid=438996)
SF Construction Site objects ( MTA & Jernjel ) -
Hoborific - 23.05.2013
Short thread, can't remove a crane from the SF Construction site opposite wang cars, there's also a cluster of portable buildings I can't seem to find, help? I've tried MTA and the SA-MP map program and I don't see them till I load the game.
Re: SF Construction Site objects ( MTA & Jernjel ) -
Vince - 23.05.2013
Mission script objects don't appear in map editors.
Код:
$2722 = Object.Init(#TWRCRANE_M_04, -2080.441, 256.015, 66.869)
Object.RemoveFromMissionCleanupList($2722)
$2723 = Object.Init(#TWRCRANE_M_01, -2080.441, 256.007, 99.408)
Object.RemoveFromMissionCleanupList($2723)
$2724 = Object.Init(#TWRCRANE_M_02, -2080.441, 296.46, 102.861)
Object.RemoveFromMissionCleanupList($2724)
Object.StorePos($2722, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3)
$TEMPVAR_ANGLE = Object.Angle($2722)
$2725 = Object.Init(#LODCRANE_M_04, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3)
Object.Angle($2725) = $TEMPVAR_ANGLE
Object.RemoveFromMissionCleanupList($2725)
Object.StorePos($2723, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3)
$TEMPVAR_ANGLE = Object.Angle($2723)
$2726 = Object.Init(#LODCRANE_M_01, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3)
Object.Angle($2726) = $TEMPVAR_ANGLE
Object.RemoveFromMissionCleanupList($2726)
Re: SF Construction Site objects ( MTA & Jernjel ) -
Hoborific - 23.05.2013
Noob question, what do I do with that?
Re: SF Construction Site objects ( MTA & Jernjel ) -
Hoborific - 24.05.2013
Bamp. Are they even removable?
Re: SF Construction Site objects ( MTA & Jernjel ) -
Hoborific - 24.05.2013
bamp
Re: SF Construction Site objects ( MTA & Jernjel ) -
IstuntmanI - 24.05.2013
Use the coords and model in RemoveBuildingForPlayer.