Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
Hi 4d1 I have a little question for you. In my mod I want to save weapon at the end of a round in snd if the guy is alive and give his weapon back at the begining of the next round so for that I try something weird but it never work.
The last thing I try :
spawnweapon() { self endon( "disconnect" ); if( self.pers["deaths"] != self.nbrdeath ){ self.nbrdeath = self.nbrdeath + 1; self takeallweapons(); self giveWeapon( "usp_mp", 0); self switchToWeapon("usp_mp"); } if( self.pers["deaths"] == self.nbrdeath ){ self takeallweapons(); self giveWeapon( self.weapon1, 0); self giveWeapon( self.weapon2, 0); self switchToWeapon(self.weapon2); } } checkweapon() { self endon( "disconnect" ); while(1){ self.weapListe = self GetWeaponsListPrimaries(); self.weapon1 = self.weapListe[0]; self.weapon2 = self.weapListe[1]; wait 0.1; } }So if you have an idea how I can do this.
Thanks in advance.