Wysłany: 2018-10-18, 21:04
Krzemo1234
Wiek: 26 Na forum: 3751 dni Posty: 387
Nick w MP: Krzemo
Piwa : 16
Kod: dawnlodetext1 = "***** - Polski Serwer RPG" --- the text up
dawnlodetext2 = "Trwa pobieranie zasob?w serwera..." --- the text in medium
dis = textCreateDisplay()
screentext = textCreateTextItem (dawnlodetext1, 0.5, 0.1, 2, 255,255,255, 255, 3.0, "center", "center",127 )
textDisplayAddText(dis,screentext)
dis1 = textCreateDisplay()
screentext1 = textCreateTextItem(dawnlodetext2, 0.5, 0.5, 2, 255,255,255, 255, 1.2, "center", "center",127 )
textDisplayAddText(dis1,screentext1)
dis2 = textCreateDisplay()
screentext2 = textCreateTextItem(dawnlodetext3, 0.5, 0.89, 2, 55,55,255, 255, 1.2, "center", "bottom",127 )
textDisplayAddText(dis2,screentext2)
addEventHandler("onResourceStart",resourceRoot,
function ()
for i,p in ipairs(getElementsByType("player")) do
textDisplayAddObserver(dis,p)
textDisplayAddObserver(dis1,p)
textDisplayAddObserver(dis2,p)
end
end
)
addEventHandler("onPlayerJoin",root,
function ()
fadeCamera(source, true, 75)
--dxDrawImage(0, 0, 1920, 1080, "logo.png", fadeCamera, 0, 0, tocolor(255, 255, 255, 255), false)
setCameraMatrix(source, -1834.34, 877.85, 297.09, 0.00, 0.00, 275.69)--x,y,z,r1,r2,r3 -1894.37,668.43,145.05,0.3,0.0,45.0
textDisplayAddObserver(dis,source)
textDisplayAddObserver(dis1,source)
textDisplayAddObserver(dis2,source)
end
)
addEvent("removeText",true)
addEventHandler("removeText",root,
function ()
textDisplayRemoveObserver(dis,source)
textDisplayRemoveObserver(dis1,source)
textDisplayRemoveObserver(dis2,source)
end
)
Podpis
Jeśli ci pomogłem zostaw zimne
Wysłany: 2018-10-18, 22:28
Avenged
Młodszy Szkrypter
Wiek: 23 Na forum: 3510 dni Posty: 654
Nick w MP: Avenged
Piwa : 1570
trigger do clienta i tam tworzysz
Podpis
LUA, JS, PHP
Zapraszam do skorzystania z moich usług: Klik
Wysłany: 2018-10-18, 22:36
Krzemo1234
Wiek: 26 Na forum: 3751 dni Posty: 387
Nick w MP: Krzemo
Piwa : 16
Kiedy? to mo?e bym wiedzia? oco chodzi , ale teraz nwm mo?esz mi to jako? wyt?umaczy? bardziej ?
Podpis
Jeśli ci pomogłem zostaw zimne
Wysłany: 2018-10-19, 16:14
Avenged
Młodszy Szkrypter
Wiek: 23 Na forum: 3510 dni Posty: 654
Nick w MP: Avenged
Piwa : 1570
Więcej informacji znajdziesz w Wikipedii MTA: addEvent
Więcej informacji znajdziesz w Wikipedii MTA: dxDrawImage
Podpis
LUA, JS, PHP
Zapraszam do skorzystania z moich usług: Klik
Więcej szczegółów
Wystawiono 1 piw(a):Krzemo1234
Wysłany: 2018-10-19, 16:35
Krzemo1234
Wiek: 26 Na forum: 3751 dni Posty: 387
Nick w MP: Krzemo
Piwa : 16
a dobra dzi?ki
[ Dodano : 2018-10-19, 16:36 ]
Polecia?o piwo temat do zamkni?cia
Podpis
Jeśli ci pomogłem zostaw zimne
Tagi: jak :: dodać :: png/jpg :: pobierania :: zasobów
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: