Bully-Board
Bully Modding Section => Script Modding => LUA Scripting Help => Topic started by: RSta on April 30, 2014, 01:20:12 PM
-
Can anybody please tell me whats with this annoying dumb message?????(unexpected symbol near 'n')???i mean like I've tested everything,checked every lua letters and it still popping up that dumb message,
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)
PlayerSetHealth(5000)
ClothingSetPlayerOutfit("Wrestling")
end
MissionCleanup = function()
end
main = function()
repeat
Wait(0)
until l_0_0 ~= false
Wait(3000)
MissionSucceed()
end
It's just a simple code,Is there anything wrong with those?If so please tell me or correct for me(Im using SWEGTA's ultimate pasta to write those codes)
-
Create a new .lua file using notepad ++, then just copy/paste the codes from Ultimate Pasta into there.
Ultimate Pasta has a habit of messing up .lua-files.
-
If what SWEGTA said doesn't work then ur LUA file has the baddest type of LUA corruption which means that no matter where u copy the code to the file will become corrupt.
What I do to fix this is to make a new file and write the code exactly like the other file without copying.
Just looking at the other file then writing in the new one.
It happends to me sometimes... One time at a giant 2000 lines script.... Had to rewrite.
Good luck.
-
If what SWEGTA said doesn't work then ur LUA file has the baddest type of LUA corruption which means that no matter where u copy the code to the file will become corrupt.
What I do to fix this is to make a new file and write the code exactly like the other file without copying.
Just looking at the other file then writing in the new one.
It happends to me sometimes... One time at a giant 2000 lines script.... Had to rewrite.
Good luck.
It worked!Thanks man!You're awesome! ;D ;D
-
Create a new .lua file using notepad ++, then just copy/paste the codes from Ultimate Pasta into there.
Ultimate Pasta has a habit of messing up .lua-files.
Thanks for the info bro :)
-
Glad this all was sorted out.
Closing the thread.
Edit:
I have no powers here.
-
Glad this all was sorted out.
Closing the thread.
Edit:
I have no powers here.
Arnt u mod? sweg
-
Glad this all was sorted out.
Closing the thread.
Edit:
I have no powers here.
Arnt u mod? sweg
Yeah, but apparently no one has given me the authority to rule the subsections here.
-
Try it now, Sweggy.
-
I HAVE THE POWER!!!
Family Guy - I Have The Power! - Family Guy video (http://www.youtube.com/watch?v=nihv1558Iag#)
(It worked.)
-
HEH....Here.
https://www.youtube.com/watch?v=_BRv9wGf5pk&feature=kp (http://www.youtube.com/watch?v=_BRv9wGf5pk&feature=kp#)