Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Gunshop By Tandfen
- @inputs Ranger1 Ranger2 Ranger3 Ranger4 Ranger5 Money E:wirelink
- @outputs User1 User2 User3 User4 User5
- if (first()|duped()|dupefinished()){
- hint("Made by Tandfen",1000)
- hint("http://steamcommunity.com/profiles/76561198144128531/",1000)
- E:egpClear()
- }
- interval(250)
- ##################
- # Configurations #
- ##################
- # Background box color
- BGcolor = 75,75,75
- #weapon text color
- WColor = 0,0,0
- #Tittle text color
- Tittlecolor = random(255),255,255 # makes the text flash random colors
- #background box
- #E:egpRoundedBox(first layer / 1, vec2(position-right or left, position up and down),vec2(width of the box, height of the box))
- E:egpRoundedBox(1,vec2(255,255),vec2(500,500)) # the box nr1
- E:egpColor(1,vec(BGcolor)) # the color of nr1, change in config
- #Tittle part
- # Tittle background rounded box
- E:egpRoundedBox(2,vec2(250,50),vec2(380,50))
- E:egpColor(2,vec(250,150,0))
- E:egpRoundedBoxOutline(3,vec2(250,50),vec2(380,50))
- E:egpColor(3,vec(0,0,0))
- #Tittle text and size - change color in the config part
- E:egpText(4,"Granty's gunshop", vec2(85,25))
- E:egpSize(4,40) # setting the text size of text E:egpText(2,...)
- E:egpColor(4,vec(Tittlecolor))
- # Tittle part end
- #Gun boxes - background
- E:egpRoundedBox(5,vec2(250,125),vec2(380,50))
- E:egpColor(5,vec(250,150,0))
- E:egpRoundedBoxOutline(6,vec2(250,125),vec2(380,50))
- E:egpRoundedBox(7,vec2(250,185),vec2(380,50))
- E:egpColor(7,vec(250,150,0))
- E:egpRoundedBoxOutline(8,vec2(250,185),vec2(380,50))
- E:egpRoundedBox(9,vec2(250,245),vec2(380,50))
- E:egpColor(9,vec(250,150,0))
- E:egpRoundedBoxOutline(10,vec2(250,245),vec2(380,50))
- E:egpRoundedBox(11,vec2(250,305),vec2(380,50))
- E:egpColor(11,vec(250,150,0))
- E:egpRoundedBoxOutline(12,vec2(250,305),vec2(380,50))
- E:egpRoundedBox(13,vec2(250,365),vec2(380,50))
- E:egpColor(13,vec(250,150,0))
- E:egpRoundedBoxOutline(14,vec2(250,365),vec2(380,50))
- #Gun boxes - Text (gun name & price)
- E:egpText(17,"AM-95 $1000",vec2(100,110))
- E:egpSize(17,30)
- E:egpColor(17,vec(WColor))
- E:egpText(18,"Honey Badher $1500",vec2(100,170))
- E:egpSize(18,30)
- E:egpColor(18,vec(WColor))
- E:egpText(19,"AI-AW50 $1025",vec2(100,230))
- E:egpSize(19,30)
- E:egpColor(19,vec(WColor))
- E:egpText(20,"FG-42 $1010",vec2(100,290))
- E:egpSize(20,30)
- E:egpColor(20,vec(WColor))
- E:egpText(21,"Ares Shrike $2000",vec2(100,350))
- E:egpSize(21,30)
- E:egpColor(21,vec(WColor))
- #first user / the user for the 1st.
- if(Money == 1000){
- User1 = 1
- }
- else {
- User1 = 0
- }
- #first user / the user for the 2th.
- if(Money == 1500){
- User2 = 1
- }
- else {
- User2 = 0
- }
- #first user / the user for the 3th.
- if(Money == 1025){
- User3 = 1
- }
- else {
- User3 = 0
- }
- #first user / the user for the 4th.
- if(Money == 1010){
- User4 = 1
- }
- else {
- User4 = 0
- }
- #first user / the user for the 4th.
- if(Money == 2000){
- User5 = 1
- }
- else {
- User5 = 0
- }
- E:egpText(23,"Made by Tandfen",vec2(100,470))
- E:egpColor(23,vec(random(255),random(255),random(255)))
- E:egpText(25,"Correct amount of money in here ->",vec2(150,450))
- E:egpColor(25,vec(random(255),255,255))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement