FOUND THIS CODE
Reducing damage from a headshot -
Quote:
#include <sourcemod>
#include <sdkhooks>
public OnClientPutInServer(client) {
SDKHook(client, SDKHook_TraceAttack, TraceAttack);
}
public Action:TraceAttack(victim, &attacker, &inflictor, &Float:damage, &damagetype, &ammotype, hitbox, hitgroup) {
if (hitgroup == 1) {
damage *= 0.50;
return Plugin_Changed;
}
return Plugin_Continue;
}
|
Can some one help me update it to this
CSGO WEAPON:SSG 08
do this in damage:
Left Leg: 25
Right Leg: 25
Right Arm: 25
Left Arm: 25
Stomach: 50
Chest: 50
Head: 100
__________________
My Nick name is Nouton^
i have played cs for around 12years+
have build servers for about 12years
my website and my servers are:
http://Nouton.se
i host at home did build my own server station for around 1300$.