One error...
I get an error with fakedamage while compiling, here is the code:
Code:
|
|
i looked at that and to me it just doesnt make any more sense :S
|
Code:
something like that... |
fakedamage ( victim, Classname[], Float:damage, damagetype )
victim is the player the damage should be inflicted upon. Classname is the name of the damage, ie if someone is killed by it then the console would show "Player was killed by Classname". damage is the amount of damage to inflict upon the victim. damagetype is the kind of damage inflicted, really it only affects the icon that appears. 0 : "GENERIC" 1 : "CRUSH" 2 : "BULLET" 4 : "SLASH" 8 : "BURN" 16 : "FREEZE" 32 : "FALL" 64 : "BLAST" 128 : "CLUB" 256 : "SHOCK" 512 : "SONIC" 1024 : "ENERGYBEAM" 16384: "DROWN" 32768 : "PARALYSE" 65536 : "NERVEGAS" 131072 : "POISON" 262144 : "RADIATION" 524288 : "DROWNRECOVER" 1048576 : "CHEMICAL" 2097152 : "SLOWBURN" 4194304 : "SLOWFREEZE" |
Ok this is my script, it compiles, but when i try it on my server it doesnt make my bullets kill one shot, what i want to do is add damage to a players weapon.
Code:
|
This will never do what I think you want it to, but it should work partially. Basically, when you spawn or type "fullupdate" in your console, it'll kill you.
Code:
|
so i cant add damage to a weapon?
|
Code:
I use playername as the classname so it will appear as "Player A was killed by Player B" in console. |
| All times are GMT -4. The time now is 23:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.