undefined Posted July 9, 2014 Share Posted July 9, 2014 (edited) Hi guys. Im work on the new freeroam panel and gamemode. But i have a problem on the create vehicle. When the player quit the game, vehicles isn't destroyed and it's give this error: My code: Code Removed How to fix it? Edited July 10, 2014 by Guest Link to comment
MTA Team botder Posted July 9, 2014 MTA Team Share Posted July 9, 2014 The event "onPlayerQuit" also gives you automatically parameters to your event handler function. The parameter "quitType" will be assigned to your "player" variable. Because of this the script tries to index the playerData table with the quitType. https://wiki.multitheftauto.com/wiki/OnPlayerQuit Link to comment
undefined Posted July 10, 2014 Author Share Posted July 10, 2014 Thank you bro. It's solved... 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