The image won't display.
code used:
x = 0.07
y = 0.07
breedte = 0.68
hoogte = 0.96
status = guiCreateStaticImage(x, y, breedte, hoogte, "client\player_skins\0.png", true, registratiescherm)
some translations:
breedte means is dutch for width
hoogte means is dutch for height
and registratiescherm is dutch for registrationscreen
meta.xml:
<meta>
<info author="Teqskater" type="gamemode" name="Teqskater's Server" description="Scripting Practice Server" />
<script src="server\gamemode.lua" type = "server"/>
<script src="client\gui.lua" type = "client"/>
<file src="client\player_skins\0.png" />
etc...
The resource's foldername = Teqserv
in folder Teqserv are 2 folders named client and server
in the folder client is another folder with the name player_skins
in that folder are player skin images and there is an image file 0.png and more image files.
What's wrong?
EDIT#1:
it only works for me right now when i use this code:
code:
<file src="0.png" />
meta.xml:
<file src="0.png" />
and ofcourse the image '0.png' in the root folder.
can't it be done like i tryed in the first method?