Hi
I creating my own script, ( private script, don't public ), and i receive this error when I launch the server :
ERROR: Couldn't find resource archive or directory
This is my XML:
<meta>
<info author="Dopery" name="Base" version="1.0" type="script"/>
<script src="Main.lua" type="server" />
</meta>
and my script/resource:
function hideHUD ()
showPlayerHudComponent ( source, "ammo", false )
showPlayerHudComponent ( source, "weapon", false )
showPlayerHudComponent ( source, "armour", false )
showPlayerHudComponent ( source, "breath", false )
showPlayerHudComponent ( source, "clock", false )
showPlayerHudComponent ( source, "health", false )
showPlayerHudComponent ( source, "money", false )
showPlayerHudComponent ( source, "wanted", false )
end
addEventHandler ( "onPlayerJoin", getRootElement(), hideHUD )