Login to ZARP
|
|
DEADMONSTOR wrote:
.uzi wrote:
DEADMONSTOR wrote:
god wtf are you doing just make it a gif we're trying to re-invent the wheel here go awayWith bad code I think Xnator has that covered sorry. You can't use gif format |
|
The topic has been locked.
|
If u have an array of images cant u just make a for loop to display them after each other. Idk the Lua syntax but you can try to apply this concept to Lua:
imgArray = // Array of images in order
for (i=0; i < imgArray.length; i++) {
changeBackgroundFunctionOrWhatever(imgArray[i], interval);
// ^ This isn't an function, but you get the idea ^
} EDIT [ Click to expand ][ Click to hide ] for i=0, i < imageArray do
-- change background function
end
-- No actual idea if this is how it would look in Lua but try |
|
Ex. Community Council Member Ex. SSRP Super Administrator Ex. Discord Administrator Ex. TeamSpeak Staff Ex. Forum Staff Rick Townsend
Last Edit: 6 years 1 month ago by Rick Townsend.
The topic has been locked.
|
Nafe wrote:
DEADMONSTOR wrote:
.uzi wrote:
DEADMONSTOR wrote:
god wtf are you doing just make it a gif we're trying to re-invent the wheel here go awayWith bad code I think Xnator has that covered sorry. You can't use gif format You know that thing called reading yeah? Didn't do it. |
|
The topic has been locked.
The following user(s) said Thank You: .uzi
|
DEADMONSTOR wrote:
dl.dropboxusercontent.com/s/8pmgiabr9gw0vyo/pdLHXfIXxS.mp4 Here: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\lua\menu background.lua: pastebin.com/raw/kAvmLz0w mainmenu.lua: pastebin.com/raw/iaMpYWH2 Cool command this will change all files within that folder with the file extension .gif to .jpg ren *.gif *.jpg Big gays canno do it |
|
...
The topic has been locked.
|
|
|
The topic has been locked.
|
|