edited 2×, last 08.02.12 02:04:54 am
Forum




Weapon dmg [ resolved ]
10 replies




You should use a hit hook for that and replace hpdamage with the damage you want the thing to do. Only works without armor tho..
I'm noob in scripting , help me
1
parse('mp_wpndmg <weaponname> <damage>')


Is this replacing the weapon damage?... If it is , simply add this line to your server.lua There! 
1
parse('mp_wpndmg <weaponname> <damage>')

But it is only the administrator to damage the player that are not admin, and damage to normal
EDIT:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function Array(size,value) 	local array = {} 	for i = 1, size do 		array[i]=value 	end 	return array end some_admin = Array (32,false) Admin_USGN = {xxxx} -- admin usgn parse('mp_wpndmg name 99999') -- where is 'name' put name of the weapon addhook("collect","admincollect") -- Anti Some Weapon Lua function admincollect(id,iid,type,ain,a,mode) if type == here goes the id of weapon then --- eg; if type == 83 then if some_admin[id] == false then parse("killplayer "..id.." ") end end end

1
parse("killplayer "..id.." ")
are you crazy? why you just not put return 1 and change the hook to walkover?

Is it possible?'
Administrator to have, the damage on your weapon?
Administrator to have, the damage on your weapon?
it's possible. but i don't know much about customkill!

No no no no no,

Admin/mod comment




