Xunder Posted February 19, 2018 Share Posted February 19, 2018 I'm new in this (lua, mta ...), and I found some yt tutorials about making my 1st resource. Everything is fine except one thing, my resource doesn't work. It's loaded but when I type my command, it's not working.Take a look at screenshots: http://prntscr.com/ih2u7h - Meta.xml is in the resource folder. http://prntscr.com/ih2v5w - s_Message.lua https://imgur.com/a/u10E0 - In-game screenshots As you can see resource is loaded, I turned on debugscript 3 mode but nothing... Link to comment
ÆBKV Posted February 20, 2018 Share Posted February 20, 2018 givePlayerMoney(player,cash) Link to comment
MIKI785 Posted February 20, 2018 Share Posted February 20, 2018 The script tag is misspelled in the meta.xml, so no scripts get loaded. Also, your givePlayerMoney is missing the player argument. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now