Hey guys i just want some help,i want to make the peds written on the script have those LUA command forever,but they only seem to work when i see them outside the boys dorm,for example(Darby possessed his BOSS_Darby in front of the boys dorm,but when i encounter him somewhere,he doesn't have his BOSS_Darby and only has his old P_Striker_A style,and same with the Jocks and Russell,they have their powerful punches at the beginning but later they end up having their old weak punches. ).Why is this?Do you need some code?Can someone help me?
ImportScript("//Libary//LibTable.lua")
ImportScript("//Libary//LibPed.lua")
local l_0_0 = false
MissionSetup = function()
local l_1_0 = 270
local l_1_1 = -110
local l_1_2 = 6.4000000953674
local Damon = nil
local Ted = nil
local Juri = nil
local Luis = nil
local Russell = nil
PlayerSetHealth(900)
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
DisablePunishmentSystem(true)
ClockSet(9000, 30)
ClockSetTickRate(0.0060000000521541)
TextPrintString("My Mod", 5, 1)
Damon = PedCreateXYZ(12, l_1_0, l_1_1, l_1_2)
PedSetDamageGivenMultiplier(Damon, 2, 6.00)
PedMakeAmbient(Damon)
Ted = PedCreateXYZ(19, l_1_0 +1, l_1_1 +1, l_1_2 +1)
PedSetDamageGivenMultiplier(Ted, 2, 5.00)
PedMakeAmbient(Ted)
Juri = PedCreateXYZ(20, l_1_0 +2, l_1_1 +2, l_1_2 +2)
PedSetDamageGivenMultiplier(Juri, 2, 6.00)
PedMakeAmbient(Juri)
Luis = PedCreateXYZ(16, l_1_0 +3, l_1_1 +3, l_1_2 +3)
PedSetDamageGivenMultiplier(Luis, 2, 6.00)
PedMakeAmbient(Luis)
Russell = PedCreateXYZ(75, l_1_0 +4, l_1_1 +4, l_1_2 +4)
PedSetDamageGivenMultiplier(Russell, 2, 6.00)
PedMakeAmbient(Russell)
Darby = PedCreateXYZ(37, l_1_0 +5, l_1_1 +5, l_1_2 +5)
PedSetActionTree(Darby, "/Global/BOSS_Darby", "Act/Anim/BOSS_Darby.act")
PedMakeAmbient(Darby)
end
MissionCleanup = function()
end
main = function()
repeat
Wait(0)
until l_0_0 ~= false
Wait(3000)
MissionSucceed()
end