Jump to content

Question


-.Paradox.-

Recommended Posts

Posted

Hello, I have a question, is there a function/element that let the player can own only 5 weapon types?

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

@Tete It's possible I saw it in a server, player can have only 5 weapons(knife,pistol,Uzi,m4,sniper)

And @.:Hypex:. How?

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

How to make it?

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

If you don't want the players to carry more than 5 weapons, don't give them more than 5 weapons, simple...

-

Posted

Not that, I mean with weapons slots he can carry 5 types(Melee, handgun, Sub-Machine Guns, Assault rifles and rifles) do you get what I mean?

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

Well the easiest would be to use setElementData then retreive it with getElementData. When you give him a weapon, you set the element data... There might be some other ways which are more efficient, but you know... this one is easy.

Posted
Well the easiest would be to use setElementData then retreive it with getElementData. When you give him a weapon, you set the element data... There might be some other ways which are more efficient, but you know... this one is easy.

Setting element data for something like this is stupid and inefficient. Just check which slots are in use and don't allow changing if they have five slots in use.

If I helped you, please click the like button on the right ;) Thanks!

Posted

I don't understand :S

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

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...