https://forum.multitheftauto.com/viewtopic.php?f ... 6&start=45
Second post. Explanation how to use it is somewhere in that topic too. Second page I think.
Seems that you did something to ACL so it cannot start any maps. Is 'resource.mapmanager' in ACL Group 'Admin', and does ACL Group 'Admin' have 'function.startResource'?
https://community.multitheftauto.com/ind ... &id=340954
I want to have all my resources deleted, since they are useless anyway. Will upload new if I ever feel like doing it.
EDIT: And you guys should stop arguing now and let an Admin look at it. e.e
Oh thanks, I was looking for something like this for my lobby script because players were able to open F8 console and chat. I had no idea how to disable it, once again thanks.
Hehe, then I helped us both out
Take a look here:
https://forum.multitheftauto.com/viewtopic.php?t=78826
Second reply, I gave this person a complete download script. You can edit to how you want it though.
'skillWindow' is not defined, because the table is above the function which creates the window. Put the table under/in the function, or put the 'guiCreateWindow' above the table.
https://wiki.multitheftauto.com/wiki/GetElementModel
You know that this code doesn't return 'true' or 'false' at all? So why are you checking or 'skin' == 'true'? What are you trying to do with it?
What do you want to get with:
local skin = getElementModel(source)
? Because you can't give up a 'source' if it's just in the script and not in a function which was started with a command/event.
I never had any bug with it? Anyway, you have to convert the pixel size of the image (32x32 pixels) to a value that is between 0 and 1. So try this: 32/100 (My math is horrible, so it can be wrong )
*Cough* Edited.
That's because you are giving up '32' in the value that has to be between 0 and 1, lol. Do some math, or just simply set 'true' to 'false' to use actual pixels. (Trust me, that's easier)