Quote:
Originally Posted by Pierre-Marie Baty
Could you use the [code] tags ? Else it's difficult to read. Please also post the declaration of the table (the struct members) so that we get an idea of who does what, and post the function(s) that call this table. So far we see numbers but we don't really see their purpose.
|
{CS_WEAPON_SHIELDGUN, "weapon_shield","models/w_shield.mdl", 0.0, 0.0, 0.0, 0.0,
TRUE, FALSE, 0.0, 2200, 0, 1, 1, 8, -1, 8, 8,FALSE},
So 2200 is money that cost the weapon,
The numbers 8,-1, 8, 8 are the buy numbers.
-1 is added for anoder function from Whistler that check if we are running CS 1.5 to igrone this weapon.
Anoder numbers I don't know for what are there.
Light Ninja don't send me any titorials so I can't fix this.
I think that Whistler know for whats are this numbers becorce he added to the bots CS_WEAPON_FAMAS and CS_WEAPON_GALIL.
So if you PMB can't help me I will wait for help from Whistler.