HuskLV Posted March 17, 2016 Posted March 17, 2016 Hello. I want script mdc function delete radar records. There is code. But i go MDC, open vehicle and click on delete button, show this error. ERROR: mdc-system/mdc.lua:889: attempt to concatenate local 'vehicleID' (a nil value) Thanks.
HuskLV Posted March 17, 2016 Author Posted March 17, 2016 post the function that triggers remove_radar Can you write that in a script?
Simple0x47 Posted March 17, 2016 Posted March 17, 2016 post the function that triggers remove_radar Can you write that in a script? He says where in your script do you make use of the removeradar function. It could be like this. function example(player) end function anotherexample(player) local example = example(player) -- Where do you make the call of the function? outputChatBox(example, player) end
Captain Cody Posted March 17, 2016 Posted March 17, 2016 The vehicleID variable is not being sent over correctly.
Simple0x47 Posted March 17, 2016 Posted March 17, 2016 The vehicleID variable is not being sent over correctly. Yeah, that's why we need where your function "removeRadar" is being called.
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