Home
Home
Register
Login

Resources
Forum






back to resource Comments - Zip (KGB) *m (zipzip)

Add comment

1
- 2019-07-15 18:34:17#2 KatastrofaS
I checked the work of the map in MTA MTA 1.5.2 and 1.5.6 - this line is perceived as a comment. But after you download the model Albany Roosevelt and create a boot file mesa-roosevelt.zip can uncomment this line.
Mesa chosen from considerations of the size of the wheels. This is what my main client file of the car looks vehicle.lua:
local vmod = 500
local helpMessage = "Albany Roosevelt (автор: Automan)"
local helpMessageTime = 8000
local helpMessageY = 0.3
local helpStartTime = 0
addEventHandler("onClientResourceStart",resourceRoot,
function()
engineImportTXD(engineLoadTXD("hustler.txd"),vmod)
engineReplaceModel(engineLoadDFF("hustler.dff"),vmod)
helpStartTime = getTickCount()
addEventHandler("onClientRender",root,drawtext)
end)
function drawtext()
local age = getTickCount() - helpStartTime
if age > helpMessageTime - 256 then
age = helpMessageTime - age
end
age = math.min(math.max(0,age),255)
local sx,sy = guiGetScreenSize()
dxDrawText(helpMessage,sx/2,sy*helpMessageY,sx/2,0,tocolor(128,128,136,age),2,"default","center")
if age == 0 then
removeEventHandler("onClientRender",root,drawtext)
end
end
- 2019-07-15 16:25:47#1 Canvas
don't forget to remove:
<!-- <include resource="mesa-roosevelt" /> -->
in meta.xml for it works
1