I have a problem and I need help plz
I have a script that is giving machete explode when used on ground but
I have this:
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
if w == 69 then
			rot = player(id,"rot")
			if rot < -90 then rot = rot + 360 end
			local angle = math.rad(math.abs(rot + 90)) - math.pi
			local x = player(id,"x") + math.cos(angle) * itemtype(w,"dmg") / 2
			local y = player(id,"y") + math.sin(angle) * itemtype(w,"dmg") / 2
			if x > 0 and y > 0 and x < map("xsize") * 32 and y < map("ysize") * 32 then
				parse("explosion "..x.." "..y.." 32 10000000 "..id)
			end
		end
I think I need to use the hook clientdata on me script but I don't know how
plz help? plz i make u vip on server plz
edited 1×, last 20.11.16 06:27:42 pm
 
  CS2D
 CS2D  Machete on mouse
 Machete on mouse 
  1
 1 
 Offline
 Offline
 Rainoth
 Rainoth 
  
 