Help with resetting weapons on player death
#8

Quote:
Originally Posted by Yashas
Посмотреть сообщение
LOL!I thought your aim was to reset all weapons on death and you told it.Then why are you try to GivePlayerWeapon on OnPlayerSpawn?? -_-

Please tell once again what are trying to accomplish by that code?
No my aim is to make sure when you connect you connect with the weapons that you disconnected with. But I put this in OnPlayerSpawn not OnPlayerConnect as when you connect your first taken to a log in screen and then a character selection menu so it would make things complicated. But I also want to make sure that when you die you loose all your guns so that when you spawn again you have no guns but also so players cant just disconnect after dieing so that when they log back in they have there guns again.

But the problem I am having is that when you spawn it reads your weapon data from the INI file and gives you the weapons that you last disconnected with, why aren't these values changed to 0 when you die so that when you spawn you get nothing?
Reply


Messages In This Thread
Help with resetting weapons on player death - by Spikmun - 02.05.2013, 14:59
Re: Help with resetting weapons on player death - by Yashas - 02.05.2013, 15:04
Re: Help with resetting weapons on player death - by Spikmun - 02.05.2013, 15:22
Re: Help with resetting weapons on player death - by Pottus - 02.05.2013, 15:24
Re: Help with resetting weapons on player death - by Spikmun - 02.05.2013, 15:39
Re: Help with resetting weapons on player death - by Pottus - 02.05.2013, 15:41
Re: Help with resetting weapons on player death - by Yashas - 02.05.2013, 15:48
Re: Help with resetting weapons on player death - by Spikmun - 02.05.2013, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)