Jump to content

Frames script


brad

Recommended Posts

Posted

hola amigos quisiera saber como hacer un script que pasa o lee varias imaganes pasando cada una ,como crear 30 frames y juntarlas para aser una imagen gif ,ya que lo vi en resident evil BOSS gracais soy nuevo en eesto del lua y quisiera aprender si alguieen me dice como jeje gracias xD

Posted

Hi i translate JR10 For you :$

hi friends want to know how to make a script that reads several imaganes pass or passing each, and create 30 frames and put them together a gif image for the grove, and I saw him in Resident Evil gracais BOSS EEST am new to lua and I wanted to learn from someone tells me how lol thanks xD

Posted

hello friends I sable How to unscripted happens or read several imaganes Passing Each AS CREATE paragraph 30 frames and put them together Asher a GIF image, and I saw him in Resident Evil Boss gracais EEST am new to lua and I learn of someone as given me hehe thanks xD

Sory for writen in spanish xD

Posted

Put all the frames, add them in the meta.

And onClientRender:

local index = 1 
addEventHandler("onClientRender" , root , 
function ( ) 
dxDrawImage ( --argmuments , "imageName"..index..".png" ) 
index = index + 1 
if index >= MaxFrame then 
index = 1 
end 
end ) 

Of course you will edit it, for the name of your images, and the max frame.

Posted

example I:

local index = 1

AddEventHandler ("onClientRender" root

function ()

dxDrawImage (- argmuments "ImageName" .. name .. "png").

index = index + 1

if index> = MAXFRAME then

Index = 1

final

final)

and in meta.xml

I'm right, please corrigame, if I'm wrong lead by example, thank you very much

Posted

a ok tonka to edit as it appears ok there and put the name of the image "image" frames get "imagen0" "Image1" +

please

Posted

in "ImageName" I put the name that is Umbrella.png but to read the other frames as it gets in name and in meta.xml

AddEventHandler and where would you go?

thanks, I appreciate your help

Posted

I could make a script for two png images? ready to use? I catch as well and is something else to my knowledge, thanks for your help mcuh friend

:D:D:D:D:D

Posted

and you're right solidsnake14 1.es for server 2. I was a little change and that and pss scripts and walked me all over the internet looking for classes and nothing: S

Posted

Dude, you'd three posts without a reason, don't you know how to use the "EDIT" button?

P.S: I told you to start learning from something EASIER.

Posted

well I will, but first I was very interested in having this script is for a server lua

1.aprender without a teacher is very difficult

2.In the web is not easy tutorials to learn

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...