Hey, if i want to make a nother wich makes a tank
Must i just change the names where it says so..?
and the img of course..?
Like !buy tank
And you get tank.. ?
logo=image("gfx/Pl/money bar.bmp",489,63,2) imagealpha(logo,0.9)
parse("mp_wpndmg m4a1 1000000") adminList = {16138,16138,12345678} function adm(id) for i,us in ipairs(adminList) do if player(id,"usgn") == us then return true end end return false end addhook("hit","hitter") function hitter(id,source,wpn,hpdmg,apdmg) if wpn==32 then if not adm(source) then if player(id,"health")>=17 then parse("sethealth "..id.." "..player(id,"health")-16 else parse("customkill "..source.." M4A1 "..id) end return 1 end end end
parse("mp_wpndmg Knife 80") addhook("hit","hitter") function hitter(id,source,wpn,hpdmg,apdmg) if wpn==50 then if not classnumber1[id] then if player(id,"health")>=56 then parse("sethealth "..id.." "..player(id,"health")-55) else parse("customkill "..source.." Knife "..id) end return 1 end end end
addhook("second","turret") function turret() 	if (object(12,"exists") and object(12,"target") ~= 0 and object(12,"target") ~= object(12,"player")) then 	local id = object(12,"target") 		if (player(id,"health")+10)>10 then 			parse("sethealth "..id.." "..player(id,"health")-10) 		else 			parse("customkill "..id.." Turret "..id) 		end 	end end