joke Posted June 14, 2020 Posted June 14, 2020 (edited) I'm using synched peds (server-side) and any try to delete object crashes client (both trying to delete ped server-side and client-side). What is the correct way to delete not needed ped? I tried `mp.game.object.deleteObject(ped);` and `mp.game.invoke('0x2595DD4236549CE3', ped.handle);` for client side both are crashing. I tried `ped.remove()` for server side and client crashed again. (or maybe version is 1.1, I'm not sure, server doesn't print version information) Edited June 14, 2020 by joke version?
SenseiFeet Posted June 16, 2020 Posted June 16, 2020 Try to set controller first to null bevor delete
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