Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - killvn

#1
well ... my scripts :
SetWeaponDataValue(21, 6, 0.001); // For change damage of Stubby
I try to use alot of change number like that
SetWeaponDataValue(21, 6, 1); // For change damage of Stubby
SetWeaponDataValue(21, 6, 2); // For change damage of Stubby
SetWeaponDataValue(21, 6, 0.5); // For change damage of Stubby
SetWeaponDataValue(21, 6, 0.00005); // For change damage of Stubby
But it's can only make the damage of Stubby Shotgun (ID 21) Strongger ... can't be weaker ...
when i use :
SetWeaponDataValue(21, 6, -1);  .... it's make no damage or negative damage ... is there anything wrong ? I mean i only want to make damage of stubby shotgun lower ... for example original damage of stubby is 120 per shot and i just want to lower down to 50 damage ... but still not work ... can u give me some idea ? Thanks
#2
i read this but didn't understand ...
SetWeaponDataValue(21,21,1); is there the error in my scripts ?
#3
bool SetWeaponDataValue( int weaponID, int fieldID, float value ); ... nt weaponID i think it's the weapon ID ... like stubbyshotgun with ID 21 ... float value may be the damage of the gun can make ... but what is the fieldID ?

I Try this  :
function onScriptLoad()
{
SetWeaponDataValue(21,21,1);
}
Still not working yet ? ... can u help me ... :(
#4
i don't understand how the function SetWeaponDataValue working ... i try it by my own hand but not find out yet ... if you know the fuction working ... show me ... i will use that to code by my self ... i think you was reading too fast so u misunderstand something ...
#5
yes ... because some gun like stubby shotgun is massive damage also about rocket laucher gun ... so i need to decrease a little amount of their damage ...

waiting for developer ...
#6
can u give me the example ? It's not working in 0.4 ...
Setweapondamage not work .. and i don't know how to use SetWeaponDataValue function in Squirrel to modifi the damage of gun ... i try SetWeaponDataValue(21,21,20) but still not work
#7
In My Script before in PAWN i have setdamage function so i lower damage of some gun like stubby
it's very easy such as "SetWeaponDamage(21,10); for lower damage of stubby"
I wonder Squirrel have the fuction like that too ?

Tnank you for reading :)
#8
Hello ... i used PAWNO for 0.3 Z VCMP version before and now change to 0.4 version i use notepad++ for editing Squirrel ... it's very new for me but i will try my best ...

I wonder if Squirrel have a program can automatic found the error when i code ... i mean when i use PAWNO before ... it's had the fuction called "compile" to export from pwn file to amx file extension ... and when i make error such as missing the { ... etc ... it's show the error and can't run ... without error it's will run smoothy ... It's help me alot because it show the error for me :)

That's all ... thank you for reading :)