[Include] [INC] TearGas System
#6

Quote:
Originally Posted by Carlton
Quote:
Originally Posted by FreddoX [BINMAN
]
Nice work, but it can be done easily in 2 functions, so it can be done better as more of a snippet, simply with OnPlayerKeyStateChange and then make a second function to initialize the teargas (though it's not that necessary). And it can be done using GetPlayerWeapon, instead of this alternative method you use to give teargas.
I could of used GetPlayerWeapon, I didn't really like giving the players teargas as a weapon, because the amount of effort they throw it can effect the direction and mess up the smoke objects coordinates. I tried my best to make it a different way. Maybe using GetPlayerWeapon, and using GetPlayerWeaponData, can determine the amount of teargas a person has, I will try that out. Thanks for the nice work comment.
No problem, it's excellent for a first release. If you do change it, you should probably change it to a filterscript though.
Reply


Messages In This Thread
[INC] TearGas System - by Carlton - 07.03.2010, 21:02
Re: [INC] TearGas System - by speedruntrainer - 07.03.2010, 21:04
Re: [INC] TearGas System - by Carlton - 07.03.2010, 21:06
Re: [INC] TearGas System - by Calgon - 07.03.2010, 21:10
Re: [INC] TearGas System - by Carlton - 07.03.2010, 21:18
Re: [INC] TearGas System - by Calgon - 07.03.2010, 21:19
Re: [INC] TearGas System - by Carlton - 07.03.2010, 21:21
Re: [INC] TearGas System - by MenaceX^ - 07.03.2010, 21:25
Re: [INC] TearGas System - by Carlton - 07.03.2010, 21:28
Re: [INC] TearGas System - by MenaceX^ - 07.03.2010, 21:46
Re: [INC] TearGas System - by Lejo - 08.03.2010, 07:50
Re: [INC] TearGas System - by Carlton - 08.03.2010, 10:39
Re: [INC] TearGas System - by Oxside - 08.03.2010, 11:10
Re: [INC] TearGas System - by [MWR]Blood - 08.03.2010, 11:14
Re: [INC] TearGas System - by Scenario - 08.03.2010, 15:29
Re: [INC] TearGas System - by Carlton - 08.03.2010, 19:31
Re: [INC] TearGas System - by Carlton - 10.03.2010, 20:23
Re: [INC] TearGas System - by tackleza - 10.03.2010, 23:24
Re: [INC] TearGas System - by swat853 - 18.03.2010, 22:47
Re: [INC] TearGas System - by sushihusi - 19.03.2010, 09:39
Re: [INC] TearGas System - by Carlton - 19.03.2010, 10:44
Re: [INC] TearGas System - by Joe_ - 19.03.2010, 13:02
Re: [INC] TearGas System - by Brian_Furios - 19.03.2010, 13:16
Re: [INC] TearGas System - by Carlton - 19.03.2010, 19:44
Re: [INC] TearGas System - by matko.basket - 21.03.2010, 12:31
Re: [INC] TearGas System - by Carlton - 21.03.2010, 12:33
Re: [INC] TearGas System - by matko.basket - 21.03.2010, 12:37
Re: [INC] TearGas System - by Carlton - 21.03.2010, 12:39
Re: [INC] TearGas System - by matko.basket - 21.03.2010, 12:46
Re: [INC] TearGas System - by Carlton - 21.03.2010, 12:56
Re: [INC] TearGas System - by esaone - 11.05.2010, 16:51
Re: [INC] TearGas System - by Carlton - 11.05.2010, 19:31

Forum Jump:


Users browsing this thread: 6 Guest(s)