-
Posts
330 -
Joined
-
Last visited
Everything posted by Otto
-
It's realised but it isn't fixed yet.
-
Ok guys, thanks for attention, I have finished it. Then I'll upload it to MTA Communiry site once it's finished.
-
HTML is the hardest for me. I don't know, so much functions with < > and they are more than 165465489465184 so I can never memorice them.
-
Gracias capo. Cuando termine esto abro un post por el meta, exitos!
-
Donde pongo el script? En MTA:SA FOLDER > Server > Mods > Deathmatch > resources ?
-
Algo así? local sw, sh = guiGetScreenSize ( ) local width, height = 200, 31 guiCreateStaticImage ( sw - 15 ( width / 2 ), sh - ( height / 2 ) , width, height, "fgislogo.png", false ) function checkResolutionOnStart ( theResource ) if theResource ~= getThisResource() then return end local x,y = guiGetScreenSize() if ( x <= 640 ) and ( y <= 480 ) then outputChatBox ( "Wait! You are running this game with a low resolution. Some things would not appear on your screen. Turn resolution more than 640x480 if you can." ) end end addEventHandler ( "onClientResourceStart", getRootElement(), checkResolutionOnStart )
-
Pero no me respondes a la pregunta, a lo que me refiero es cual es cual. Si el segundo es para la imagen y si el 1 es para la posicion en la pantalla. guiCreateStaticImage ( sw - ( width / 2 ), sh - ( height / 2 ) , width, height, "fgislogo.png", false ) es para la imagen local width, height = 20, 30 es para la poseción en la pantalla entonces.
-
Pero no me respondes a la pregunta, a lo que me refiero es cual es cual. Si el segundo es para la imagen y si el 1 es para la posicion en la pantalla.
-
local width, height = 20, 30 guiCreateStaticImage ( sw - ( width / 2 ), sh - ( height / 2 ) , width, height, "fgislogo.png", false ) El local width, height = 20, 30 es donde va a estar en la pantalla y el ( sw - ( width / 2 ), sh - ( height / 2 ) , width, height, (etc..) el tamaño de la imagen?
-
Bueno, el logo es el tipico de el DKR que aparece abajo a la derecha, y el script que tengo hasta ahora, es este: local sw, sh = guiGetScreenSize ( ) local width, height = 200, 31 guiCreateStaticImage ( sw - ( width / 2 ), sh - ( height / 2 ) , width, height, "fgislogo.png", false ) function checkResolutionOnStart ( theResource ) if theResource ~= getThisResource() then return end local x,y = guiGetScreenSize() if ( x <= 640 ) and ( y <= 480 ) then outputChatBox ( "Wait! You are running this game with a low resolution. Some things would not appear on your screen. Turn resolution more than 640x480 if you can." ) end end addEventHandler ( "onClientResourceStart", getRootElement(), checkResolutionOnStart ) La imagen es esta: Y se va a llamar "fgislogo.png" Bueno, ahora dos cosas: 1) ¿Esta bien el script? 2) ¿Que hago en el meta.xml para que LUA reconosca a fgislogo.png como "theElement"? Desde ya gracias.
-
sw, sh = guiGetScreenSize ( ) width, height = guiGetSize ( theElement ) guiCreateStaticImage ( sw - ( width / 2 ), sh - ( height / 2 ) , width, height, false ) function checkResolutionOnStart ( theResource ) if theResource ~= getThisResource() then return end local x,y = guiGetScreenSize() if ( x <= 640 ) and ( y <= 480 ) then outputChatBox ( "Wait! You are running this game with a low resolution. Some things would not appear on your screen. Turn resolution more than 640x480 if you can." ) end end addEventHandler ( "onClientResourceStart", getRootElement(), checkResolutionOnStart ) Like.. Have you got Skype? So I changed it to "theElement". How can the program know that "theElement" is "fgislogo.png" ?
-
Let me see: sw, sh = guiGetScreenSize ( ) width, height = guiGetSize ( fgislogo.png ) guiCreateStaticImage ( sw - ( width / 2 ), sh - ( height / 2 ) , width, height, false ) function checkResolutionOnStart ( theResource ) if theResource ~= getThisResource() then return end local x,y = guiGetScreenSize() if ( x <= 640 ) and ( y <= 480 ) then outputChatBox ( "Wait! You are running this game with a low resolution. Some things would not appear on your screen. Turn resolution more than 640x480 if you can." ) end end addEventHandler ( "onClientResourceStart", getRootElement(), checkResolutionOnStart ) Something like that?
-
Should be on Development! Nice work!
-
I did, but I don't understand, that's why I'm asking.
-
So, the name of the image will be fgislogo.png How can I add it to the script?
-
Ok, I think most of the people here has played on DKR, or checked out it. (Sorry for bad english) What I mean here is that, I wanna make a logo on some corner of the screen, that appears all the time since you connect, up you disconnect. I'll do the image, based on the DKR one: I think you have seen it. How can I script something for showing this logo? (The one I'll photoshop with the same sizes).
-
Ok, first of all. I'm starting with modeling, and I don't know how to start.. • What program shall I use? • Where can I find objects? • When I get that program (I don't know if it's 3D Max or 4D Max something like that), How can I model my first object? Should I use TXD Workshop for textures? • Where are the textures? Thanks!
-
If you knew it, then you won't be there. At least, don't lie ;f Anyway, I don't lie, just when I see at a LUA script, I see it like HTML, and I don't understand HTML.
-
Thanks guy, it's really difficult to learn LUA, I know PHP and CSS, nothing more. I'll try. Thanks!
-
What I mean, it's a script that when you put "/cd" or "/countdown" a Count down of "3, 2, 1, GO!" appears on your head.. (Ped head) Like on DKR! But I don't won't to steal those scripts because they have copyright. If somebody do it, I'll let credits stay on the "meta.xml". Thanks anyway.
-
Can someone send me their [play] and Freeroam file? [play] is on MTA 1.1.1 FOLDER > Server > Mods > deathmatch > gamemodes freeroam is on MTA 1.1.1 FOLDER > Server > Mods > deathmatch > gameplay
-
Thanks for clicking. The way is, when I try to open a map, it never opens, I'm always waiting, and nothing changes. Nice, short post but a big dude, can someone answer? It's a [play] problem? freeroam problem?
-
I was mapping and when I wanted to test, this appeared: I know, my MTA can't find freeroam. I reinstalled it, but no case. Somebody knows link of freeroam gamemode and where to put it?
-
Can u send me one? Cause I was looking for them but I didn't found.
