Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: FaZe on November 01, 2013, 11:15:14 AM
-
ImportScript("\\Library\\LibTable.lua")
ImportScript("\\Library\\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
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
TextPrintString("Destinys Random Crazy Stuff", 5, 1)
PlayerSetHealth(1000)
PedSetWeapon(gplayer, 396, 1)
VehicleCreateXYZ(278, 270, 110, 6.4000000953674)
PedCreateXYZ(217, 270 , 110 , 6.4000000953674)
end
MissionCleanup = function()
end
main = function()
repeat
Wait(0)
until l_0_0 ~= false
Wait(3000)
MissionSucceed()
end
Thanks..
-
What Error exactly?
-
Unexpected Symbol near ' '
-
Unexpected Symbol near ' '
What line?
-
I don't know, When I try and compile it, it gives me that error. I don't know the exact problem. Can you help.
-
I can help but I need you to give me the line.
Example :
luac: Test.lua:3225: `end' expected (to close `function' at line 2158) near `<eo
f>'
I marked where the line number should be at.
-
luac: randomcrazystuff.lua:1: unexpected symbol near ' ' `
-
I dont see any error at line 1 or 2 (Sometimes it says error at line X but its an error at a line above it or under it).
Try copying your whole script into a new file.
-
I've tried this, It don't work, Shay, If you want to put credit in there for you and then compile it for me and send it back, that would be great.
You get credit for compiling and you can keep the mod, but I'll be releasing this piece of crap.
Thanks
-
The compile went good, without any problems or errors.
Create a new .lua file and paste it there.
Then compile.
-
when you are writing out your mods make sure you write them out on a progream like Notepad++ and change your coding language to Lua.
-
I know, and that's what I was doing. but... IT FUCKING WORKED THIS TIME...YYEEEEEAAAAHHHHH...Thanks Shay, couldn't of done it without you man, you're really something. Evann....is back in buisness...
-
Great for you.
Im glad to help :P
-
Also, How do you find fighting styles for PedSetActionNode, because I wanna learn LUA Again, as I have completly forgotton everything, Can someone remind me.
-
HxD the .cat files.
-
What .Cat files, can you get a vid showing me this because I rarely used PedSetActionNode and Tree.
Thanks.
-
HxD the .cat files.
in Act.img?Its full of symbols and i had already open it with Notepad ++
-
Yeah it is full of symbols but there is little words too like "/HeavyAttacks" or things like that.
-
you opened it with img tools 2.0?