heres my code
1
2
3
4
5
2
3
4
5
if entity= 7,5 typename=Info_Dom_Point int=2 then parse('spawnobject 8 8 5 0 0 2') elseif entity= 7,5 typename=Info_Dom_Point int=1 then parse('spawnobject 8 8 5 0 0 1') end
if entity= 7,5 typename=Info_Dom_Point int=2 then parse('spawnobject 8 8 5 0 0 2') elseif entity= 7,5 typename=Info_Dom_Point int=1 then parse('spawnobject 8 8 5 0 0 1') end
Change all "=" to "=="
variable = value
if variable == value then ...
if (entity(7, 5, "typename") == "Info_Dom_Point") then 	local team = entity(7, 5, "int0") 	 	if (team > 0) then 		parse("spawnobject 8 8 5 0 0 " .. team) 	end end