Hello, I am still new to scripting in general and decided to do a skin mods script for the hell of it. When I made a server to test it out, I did /startres to start the resource but I keep getting "No resource found". My friend explained that this could be because of syntax error but due to my poor knowledge of Lua, I'm still unsure.
addEventHandler('onClientResourceStart',root,
function()
lsv1 = engineLoadDFF ('lsv1.dff', 108 )
engineReplaceModel ( lsv1, 108 )
lsv1 = engineLoadTXD ( 'lsv1.txd' )
engineImportTXD ( lsv1, 108 )
end
)
Can anyone please help me or atleast tell me what I'm doing wrong? Your help would be much appreciated.