FSXTim Posted June 18, 2012 Posted June 18, 2012 Hello, I used this ressource a few minutes ago and i recorded a record. https://community.multitheftauto.com/index.php?p= ... ils&id=461 I don't want to enter '/playpedrecord (id) (skin)' everytime. I want to start a record via a script, but how could I do this? Maybe like this? function playpedrecord(47, 1) end Greets
DiSaMe Posted June 18, 2012 Posted June 18, 2012 Try this: executeCommandHandler("playpedrecord", getElementsByType("console")[1], 47, 1) executeCommandHandler makes MTA act in the way as if command was entered.
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