Deus Posted August 15, 2012 Share Posted August 15, 2012 i need help with customblips for mtasa server.. basically i added 'phone.png' to customblips folder, then created script.lua and added this to meta: <file src="phone.png" /> <script src="script.lua" type="client" /> and this is in script.lua: addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), function() exports.customblips:createCustomBlip (2422.4714355469,-1761.3317871094,16,16,"phone.png") end ) i dont know what am i doing wrong, but it is isn't working p.s. yes the customblips resource is running Link to comment
CheiN Posted August 15, 2012 Share Posted August 15, 2012 'getThisResource' it dont exist Link to comment
damien111 Posted August 15, 2012 Share Posted August 15, 2012 (edited) use [L ua] [/L ua] not the [C ode] [/C ode] (WITHOUT THE SPACES) Edited August 15, 2012 by Guest Link to comment
Deus Posted August 15, 2012 Author Share Posted August 15, 2012 never mind, i got it by myself (i had to remove 'exports.customblips' part) 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