when i run this script in GG Max it keeps saying there is an error on line 8 where the Function house1_init(e) is ? any Ideas
--DESCRIPTION: Player Dist
-- LUA Script - Created with LUA Pad 11/12/2023 12:00:39 PM
-- precede every function and global member with lowercase name of script + _main
--Main House Script
Function house1_init(e)
end
Function house1_main(e)
Playerdist = getplayerdistance(e)
if playerdist < 100 Then
Prompt(" You have Arrived")
end
end
The author of this post has marked a post as an answer.
Go to answer