Jump to content

Real Drop Weapons


Recommended Posts

Posted

What........? get position of what? a weapon is not a object or so, you can create pickups of them anyway.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Ur not annoying, your just new to this...

SolidSnake is either having a bad day or just confused or maybe tired...

I'll tell you something...

The stuff the player carries are pickups(examples: weapons, health, etc.), the stuff you see like boxes or fences are objects in the game...

SolidSnake should be sorry... Right?

My in-game name: Jaysds1

Retired CMG Scripter

World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode

Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/

 

sE5Qm.png

TiV3C.png

img.php?id=0&text=Lua%20Scripter

Posted

Sorry? what for? what he's asking (if i'm right) is to get the weapon from player's HAND, not a pickup or a object.

Think twice before post.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

U have to bind a key for example "B".

And add function with:

removePedWeapon

createPickup -- to let it look like a dropped weapon

getGroundPosition or something to get the distance ( u have to know where the ground is to create the object correctly )

OR

u use this resource from community

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