|
| 30 Aug 2016 01:55 PM |
| At the end of the rounds on a game I'm making, I want all players to have their weapons removed and have them returned to the lobby. I got the teleporting down, but if a player has a weapon equipped then its no longer a part of his backpack, so the command I'm using doesnt work. any ideas? |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2016 01:56 PM |
| A weapon equipped is relocated to the Character. You will have to clean the Character of weapons aswell as the backpack. |
|
|
| Report Abuse |
|
|
AxonMega
|
  |
| Joined: 29 Aug 2014 |
| Total Posts: 2403 |
|
| |
|
|
| 30 Aug 2016 01:59 PM |
| so its player.character.whatever the weapon is? or is it under another parent like backpack? |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2016 02:04 PM |
Player.Character.Weapon
Yes.
I am not a pro with tools and weapons, so there may be a better way of doing this. All I know is, equipped tools and weapons, move to the Character. |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2016 02:21 PM |
| got it with the unequip tools command. now ive got another problem though, if you guys got some time. i set a command so that when you spawn in with your backpack disabled. i want to re enable it with all the players gear in their backpack where it should have started whenever the game starts. but i cant enable the backpack again after ive disabled it for some reason. anything i can do? |
|
|
| Report Abuse |
|
|
|
| 30 Aug 2016 02:30 PM |
most games have the backpack disabled and use :EquipTool().
|
|
|
| Report Abuse |
|
|
|
| 30 Aug 2016 02:48 PM |
| that's fine, I'm gonna go with another option. |
|
|
| Report Abuse |
|
|