capitanazop Posted December 13, 2009 Posted December 13, 2009 hi, i gonna make a tournament for mta and i think the freecam of map editor is perfect but y tried tu call this and i get this error. [11:02:25] ERROR: call: failed to call 'freecam:setFreecamEnabled' function spect ( player, commandName, posX, posY, posZ) setTimer( call, 900, 1, getResourceFromName("freecam"), "setFreecamEnabled",player) end addCommandHandler ("spec", spect ) the script is server side. what can be do? bye and sorry for my english |||||||||||||||||||||DanieloX|||||||||||||||||||||||
Gamesnert Posted December 13, 2009 Posted December 13, 2009 The only thing I can think of (in 10 seconds, that is) that can cause this error is that you forgot to start the freecam resource. Projects: Slothbot | Maximap
50p Posted December 13, 2009 Posted December 13, 2009 I've just looked in MTA:SE and found out there is no setFreecamEnabled server-side exported function from freecam resource. Use setPlayerFreecamEnabled function instead. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
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