Shuubaru Posted June 8, 2016 Posted June 8, 2016 Hi, I saw that the function unloadAll in race gm get rids of everything, is there any possible to prevent that certain objects be deleted?
Gravestone Posted June 8, 2016 Posted June 8, 2016 You mean certain objects created by the maps? No. That's not possible since the next running gamemode map stops the previous running game mode maps.
Shuubaru Posted June 8, 2016 Author Posted June 8, 2016 You mean certain objects created by the maps? No. That's not possible since the next running gamemode map stops the previous running game mode maps. Not exactly. I created an object from a standalone script, to explain it detailed... when a players dies that script create a repair pickup with its own colshape. I saw that the colshape doesn't dissapear when the map change but the model does it. You can even get that invisible repair later because the colshape still there. For that, I want to make that the model of the pickup doesn't dissapear.
Tomas Posted June 11, 2016 Posted June 11, 2016 If the model is being loaded from the stopped resource, no you can't.
Shuubaru Posted June 13, 2016 Author Posted June 13, 2016 If the model is being loaded from the stopped resource, no you can't. The resource that create the repair isn't stopped never. If that happens then the colshape should be deleted too, but as I said: You can even get that invisible repair later because the colshape still there.
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