19.11.2013, 07:36
Can you spawn weapon for a player and make an ID on it?
For example you spawn 3 deagles and they all have ID's on them.
Example for the question:
In the server there are this weapons:
Desert Eagle #1 (AMMO: 1/1) [This means it has no ammo in it, but it has one bullet to avoid its despawn)
Desert Eagle #2 (Weapon destroyed)
Desert Eagle #3 (AMMO: 2/7) [This means the gun is functional and it has bullets in it)
AK-47 #1 (AMMO: 1/1)
AK-47 #2 (Weapon destroyed)
AK-47 #3 (Weapon destroyed)
And so on, and so on...
The number after the '#' represents the weapon ID.
And if you scroll them or drop them they keep the ID? (ofcourse the dropping system is built to contain the weapon ID as its dropped....)
For example you spawn 3 deagles and they all have ID's on them.
Example for the question:
In the server there are this weapons:
Desert Eagle #1 (AMMO: 1/1) [This means it has no ammo in it, but it has one bullet to avoid its despawn)
Desert Eagle #2 (Weapon destroyed)
Desert Eagle #3 (AMMO: 2/7) [This means the gun is functional and it has bullets in it)
AK-47 #1 (AMMO: 1/1)
AK-47 #2 (Weapon destroyed)
AK-47 #3 (Weapon destroyed)
And so on, and so on...
The number after the '#' represents the weapon ID.
And if you scroll them or drop them they keep the ID? (ofcourse the dropping system is built to contain the weapon ID as its dropped....)