Jump to content

How can I disable the random skins?


Recommended Posts

Hi there,

I recently moved over to MTA because SA:MP was just annoying me, and now I'm trying to set up my server.

My problem is that the skin that you can select in the menu, which you open with F1 (the resource 'freeroam'), won't be kept until respawn. Instead, you get another random skin. I couldn't find this in any of the loaded resources, now I don't know how to make the game keep the skin.

Maybe someone can help me out.

Regards,

AlThePhoenix

Link to comment

After that didn't work either, I looked up my map script again. I can't describe how incredibly dumb I am.

It was just one freaking line called

repeat until setElementModel(player,math.random(312)) 

in the spawn-function. But thanks for the very fast reply anyway!

Link to comment
  • 1 month later...
After that didn't work either, I looked up my map script again. I can't describe how incredibly dumb I am.

It was just one freaking line called

repeat until setElementModel(player,math.random(312)) 

in the spawn-function. But thanks for the very fast reply anyway!

Erm... that doesn't help... that just lags your server.

Link to comment
After that didn't work either, I looked up my map script again. I can't describe how incredibly dumb I am.

It was just one freaking line called

repeat until setElementModel(player,math.random(312)) 

in the spawn-function. But thanks for the very fast reply anyway!

Erm... that doesn't help... that just lags your server.

How can this lag your server if setElementModel will return true when the model has been changed? Just for your information there is only a few skin IDs which don't work and the chance that these IDs will be picked 1000 of times one after another is ridiculously low, well, almost impossible. Besides, this line is from "play" which comes with MTA. Do you think MTA would include a gamemode which lags your server?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...