Blazzingxx has written
Look at DC's sample, it says something like like "...blabla,200+i)"There is image function parameter, x or y ( I don't remember very well) to make image on player possition...
i = @ player. I'm pretty sure.
Scripts
Lua Scripts/Questions/Help
Good luck
if (player(id,"team") == 2) then [...] elseif (player(id,"team") == 1) then [...]
local i
for i = 1, 32 do
end
addhook("say","Admin1Command")
function Admin1Command(p,txt,id)
--35:--if player(p,"usgn") == Admin3 then
	if (txt == "!Laser") then
		parse ("equip "..id.." 45")
	elseif (txt == "!Sarmor") then
		parse ("equip "..id.." 83")
	elseif (txt == "!StArmor") then
		parse ("equip "..id.." 84")
	elseif (txt == "!MArmor") then
		parse ("equip "..id.." 82")
	end
	end
	end
local i
for i = 1, 32 do
end
addhook("say","Admin1Command")
function Admin1Command(p,txt,id)
--35:--if player(p,"usgn") == Admin3 then
	if (txt == "!Laser") then
		parse ("equip "..id.." 45")
	elseif (txt == "!Sarmor") then
		parse ("equip "..id.." 83")
	elseif (txt == "!StArmor") then
		parse ("equip "..id.." 84")
	elseif (txt == "!MArmor") then
		parse ("equip "..id.." 82")
	end
	end
	end
addhook("say","AdminCommand")
function AdminCommand(id,txt)
if (player(id,"usgn") == Admin3) then
if (txt == "!Laser") then
parse ("equip "..id.." 45")
elseif (txt == "!Sarmor") then
parse ("equip "..id.." 83")
elseif (txt == "!StArmor") then
parse ("equip "..id.." 84")
elseif (txt == "!MArmor") then
parse ("equip "..id.." 82")
end
end
end
-----------------------
---------SETUP---------
-----------------------
RANK = {}
RANK.SGT = {weapons={1}, 29554,29555,29556,29557,29558}
RANK.CAPITAN = {weapons={4},armor=25, 29559,29560,29561,29562,29563}
RANK.GREEN = {weapons={20},armor=100, 29564,29565,29566,29567,29568}
RANK.ADVANCED = {weapons={10},29569,29570,29571,29572,29573}
RANK.BRAVO = {weapons={80,33,51},29574,29575,29576,29577,29578}
RANK.HEAVY = {weapons={81,49},29579,29580,29581,29582,29583}
RANK.SPY = {weapons={84,52,1},29584,29585,29586,29587,29588}
RANK.ELITE = {weapons={5,74,77,83},29589,29590,29591,29592,6831}
RANK.PRO = {weapons={3,32,51,52},armor=100, 29594,29599,29596,29597,29598}
RANK.ADMIN = {29595,29600,29601,29602,29603}
function hudtxt2(id,tid,text,x,y,align)
	align = align or ""
	parse([[hudtxt2 ]]..id..[[ ]]..tid..[[ "]]..text..[[" ]]..x..[[ ]]..y..[[ ]]..align)
end
-----------------------
---------RANKS---------
-----------------------
addhook("spawn","rank")
function rank(id)
	parse("strip "..id.." 0")
	parse('hudtxt 10 "©000255000www.cs2dcan.clan.su" 320 15 1')
	for _rankname,_table in pairs(RANK) do
		for i,_usgn in ipairs(_table) do
			local _finish = false
			if player(id,"usgn") == _usgn then
				parse("equip "..id.." 1")
				hudtxt2(id,9,"©000255000RANK(".._rankname..")",45,111,1) --Gay msg
				if _table.armor then parse("setarmor "..id.." ".._table.armor) end --Armor
				if _table.weapons then
					for index_of_weapon,wpn in ipairs(_table.weapons) do
						parse("equip "..id.." "..wpn) --Weapons
					end
				end
				_finish = true
				break
			end
			if finish then
				break
			end
		end
	end
end
-----------------------
-------NO BUYING-------
-----------------------
addhook("buy","nobuy")
function nobuy(id)
	return 1
end
-----------------------
--------NO DROP--------
-----------------------
addhook("drop","nodrop")
function nodrop(id)
	return 1
end
--No dmg
addhook("hit","nodmg")
function nodmg(id)
	for i,_usgn in ipairs(RANK.ADMIN) do
		if player(id,"usgn") == _usgn then
			return 1
		end
	end
end
addhook("startround","adminglow")
function adminglow()
	for index,id in ipairs(player(0,"table")) do
		for i,_usgn in ipairs(RANK.ADMIN) do
			if player(id,"usgn") == _usgn then
				local img=image("gfx/sprites/flare2.bmp",0,0,100+id)
				imagecolor(img,255,0,0)
				imageblend(img,1)
				imagealpha(img,0.5)
				return 0
			end
		end
	end
end
adminglow()