[NS] Super welder
I'm trying to give the welder a player is carrying a high rate of damage, but I can't get my script working. It keeps dealing the standard damage...
Can anybody see what I'm doing wrong? Code:
new max_player_num, max_entities |
Re: [NS] Super welder
If I'm correct:
PHP Code:
PHP Code:
|
Re: [NS] Super welder
It part of the roll the dice script from White Panther. I'm trying to add the super welder to it. This is the complete roll option.
Code:
}else if ( diceroll == 21 ) |
Re: [NS] Super welder
Quote:
|
Re: [NS] Super welder
Your code doesn't make much sense.
I've never tested changing damage on the welder, so this may only change the actual damage output and not the repair rate. The func_weldable opening rate most likely would not be altered also, as that is stored as a "seconds to weld to open" value, not a "welder damage required to open" value. something like this: Code:
new welderid=0; |
Re: [NS] Super welder
Yeah that's correct sawce I was about to post something similar. =)
|
Re: [NS] Super welder
Tkx guys :)
And yes it's only the intention to change the damange and not the repair rate. I just had problems with getting the weaponindex :/ edit: It works :D Many thanks |
Re: [NS] Super welder
this would be a better way
Code:
|
| All times are GMT -4. The time now is 00:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.