, i'm here searching for someone who can do it this script please, the script basically its drop to you friend like the others counter-strike, using "G" instead of "E", i maked this code but dont work because when i maked them i did without knowledges of these functions and hooks, i restarted my lua scripter career with simple lua scripts, nut i want to see working my idea... here is the code1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
function initArray(m)
	local array = {}
	local friendrop = {}
	for i = 1, m do
		array[i]=0
	end
	return array
	friendrop.drop=initArray(32)
end
local rad = math.rad
local cos = math.cos
local sin = math.sin
function GetXYInFrontOfPlayer(PlayerID, Offset)
	local PX, PY, PRot = player(PlayerID, "x"), player(PlayerID, "y"), player(PlayerID, "rot")
	PRot = rad((PRot - 90))
	PX = (PX + (Offset * cos(PRot)))
	PY = (PY + (Offset * sin(PRot)))
	return PX, PY
end
addhook("drop","friendrop.drop")
function friend.drop(id)
	if player(id,drop) then
	for (drop(x,y)==3,3)
	drop y = 3
	drop x= 3
	parse("drop"..gun)
		
end
addhook("use","use.friendrop.use")
function use.friend.drop(key)
	for (player(id,key)=="E") then
	friendrop.serveraction
end
addhook("serveraction","friendrop.serveraction")
function friendrop.serveraction(id)
	friendrop.drop(id)
end
i hope u can help me, thanks
Script request [DROP like csgo]
1 
Offline
It makes the RPG, Rocket and Grenade Launcher shoot projectiles instead of the weapon itself
File does not exist (15592)
boncuk