Добавлен
Всем привет, у кого нибудь есть мемхак функция SetUnitBaseScale ? Очень нужна.

Спасибо Unryze за оффсет
function SetUnitBaseScaleById takes integer uid, real scale returns nothing
	local integer pData= 0

	if uid > 0 then
		set pData=GetUnitBaseUIDataByIdCaching(uid)

		if pData > 0 then
			call WriteRealFloat(pData + 0xB0 , scale)
		endif
	endif
endfunction

function SetUnitBaseScale takes unit u,real scale returns nothing
	call SetUnitBaseScaleById(GetUnitTypeId(u) , scale)
endfunction
`
ОЖИДАНИЕ РЕКЛАМЫ...
6
Спасибо Unryze за оффсет
function SetUnitBaseScaleById takes integer uid, real scale returns nothing
	local integer pData= 0

	if uid > 0 then
		set pData=GetUnitBaseUIDataByIdCaching(uid)

		if pData > 0 then
			call WriteRealFloat(pData + 0xB0 , scale)
		endif
	endif
endfunction

function SetUnitBaseScale takes unit u,real scale returns nothing
	call SetUnitBaseScaleById(GetUnitTypeId(u) , scale)
endfunction
Принятый ответ
Чтобы оставить комментарий, пожалуйста, войдите на сайт.