Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: bullymodder74 on September 02, 2015, 06:36:06 PM
-
ImportScript("Library/LibTable.lua")
ImportScript("Library/LibTrigger.lua")
ImportScript("Library/LibSchool.lua")
ImportScript("SGlFunc.lua")
ImportScript("SZone.lua")
local l_0_0 = false
MissionSetup = function()
AreaTransitionXYZ(0,270,-110,6)
end
function MissionSetup()
AreaTransitionXYZ(0,270,-110,6)
LoadAnimationGroup("GS_Male_A")
PedSetActionTree(gPlayer,"/Global/GS_Male_A","Act/Anim/GS_Male_A.act")
end
function main()
while PedIsAlive(gPlayer) do
Wait(0)
end
end
PlayerSwapModel ("GenericWrestler")
SoundPlayStream("MS_FightingJocks.rsm", 0.69999998807907) -
TextPrintString("Bob Mod Enjoy", 4, 1) -
-
(http://i.imgur.com/3BGT8Na.png)
Well there is your problem.
ImportScript("Library/LibTable.lua")
ImportScript("Library/LibTrigger.lua")
ImportScript("Library/LibSchool.lua")
ImportScript("SGlFunc.lua")
ImportScript("SZone.lua")
local l_0_0 = false
MissionSetup = function()
AreaTransitionXYZ(0,270,-110,6)
end
function MissionSetup()
AreaTransitionXYZ(0,270,-110,6)
LoadAnimationGroup("GS_Male_A")
PedSetActionTree(gPlayer,"/Global/GS_Male_A","Act/Anim/GS_Male_A.act")
end
function main()
while PedIsAlive(gPlayer) do
Wait(0)
end
end
PlayerSwapModel ("GenericWrestler")
SoundPlayStream("MS_FightingJocks.rsm", 0.69999998807907)
TextPrintString("Bob Mod Enjoy", 4, 1)
Try that^
-
On top of what SWEGTA said, you have 2 functions named MissionSetup, how is the game supposed to know which one to run? You should only have one of each function. Just combine the stuff in both of them into one.
-
ImportScript("Library/LibTable.lua")
ImportScript("Library/LibTrigger.lua")
ImportScript("Library/LibSchool.lua")
ImportScript("SGlFunc.lua")
ImportScript("SZone.lua")
local l_0_0 = false
MissionSetup = function()
AreaTransitionXYZ(0,270,-110,6)
PlayerSwapModel ("GenericWrestler")
LoadAnimationGroup("GS_Male_A")
PedSetActionTree(gPlayer,"/Global/GS_Male_A","Act/Anim/GS_Male_A.act")
SoundPlayStream("MS_FightingJocks.rsm", 0.69999998807907)
TextPrintString("Bob Mod Enjoy", 4, 1)
end
function main()
while PedIsAlive(gPlayer) do
Wait(0)
end
end