GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 16 Czerwca 2017 Share Napisano 16 Czerwca 2017 Switchs in your secondary weapon if your primary weapon will be empty Google translate, sorry if stupid This feature is a quick switching of weapons among themselves, without the use of animation. Switching occurs exclusively between the primary and secondary weapons that the player has. And only in the case: if one of the weapons completely ran out of ammunition, and in the second there is at least more than one cartridge. I consider that this feature essentially gives an advantage to the players who are able to take advantage of the opportunity given to them and to show in the end what their skill is capable of. P.S. there is one problem, when wep switchs in another slot, we can't see this event in players' hud. First wep stays.. : it's bad and can fire some crashes with any unstable plugins which works with client weps.So you must look and fix possible problems with your fake weapons(if exists) or plugins witch works with clients CBasePlayer->m_hMyWeapons (such as remove, give etc.) Ceep your code clean and debug https://youtu.be/QX81Ew1o6ps?t=34https://github.com/dEROZA/CSG0_FSwit...SG0_FSwitch.sp Attached Files Get Plugin or Get Source (CSG0_FSwitch.sp - 1.8 KB) CSG0_FSwitch.smx (4.5 KB) Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=298556&goto=newpost Odnośnik do odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi