Quote:
Originally Posted by wrecked_
The code is extremely redundant. You should merge your if() statements into one large one by using the OR operator ( || ), since they all have the same result if executed. This will be much more efficient.
Also, for the client_cmd( id, "-duck" ) that you use twice, you can replace two natives calls into one by using client_cmd( id, "-duck; -duck" ).
|
okay i'll optimize the code for those ifs
but the double "-duck" is a bug fix and i found it in this form in Sam's plugin
are u sure the way you said is the same?
__________________