Weapon ammo duplicates everytime player spawns
#4

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
Use ResetPlayerWeapons before providing weapons to them because GivePlayerWeapon would just double the amount of ammo - the ammo they get by spawning plus the saved ammo.

I'd also like to mention that it's better to delay the loading of weapons at least for 1000ms if you're using this under OnPlayerSpawn.
Oh. you are right, thanks. The delay isn't needed as the weapons given after login, which is after everything loaded.
Reply


Messages In This Thread
Weapon ammo duplicates everytime player spawns - by maximthepain - 15.08.2014, 13:15
Re: Weapon ammo duplicates everytime player spawns - by Lordzy - 15.08.2014, 13:22
Re: Weapon ammo duplicates everytime player spawns - by Simoer - 15.08.2014, 13:31
Re: Weapon ammo duplicates everytime player spawns - by maximthepain - 15.08.2014, 13:33
Re: Weapon ammo duplicates everytime player spawns - by Pottus - 15.08.2014, 13:58

Forum Jump:


Users browsing this thread: 2 Guest(s)