Files

> > CS2D > Lua Scripts > rp_amstria v.1.1 [BETA]
Files overviewCS2D overviewLua Scripts overview

English rp_amstria v.1.1 [BETA] >

26 comments36 kb, 1,113 Downloads

old rp_amstria v.1.1 [BETA]

M0BSTAZ
User Off Offline

just like and comment

thank's for my friend to make the map and thnx for me for the script i make

Thank's for DL!

Enjoy


EDIT:

Credits for Avobolt and IF by support my script Thank's!

EDIT:

I HAVE PUT THE MAP NEW VERSION OF AMSTRIA :D!
edited 2×, last 15.06.14 01:29:46 pm
Approved by Sparty

Download Download

36 kb, 1,113 Downloads

Comments

26 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

NanuPlayer
User Off Offline

great script
I like it!

old

SSGLemon
User Off Offline

ok ok i know to add supply
I like it!
edited 1×, last 09.02.17 09:01:35 am

old

sinLey
User Off Offline

I really dont know how you get my map xD.. but the lua is good
I like it!

old cs2d

Protease
User Off Offline

USGN why I can not log on the server ?
I like it!

old

like cs2d
User Off Offline

can some help in lua pls pls help me
I like it!

old

XingGove
COMMUNITY BANNED Off Offline

good script , And I agree with you in your business, my dearest friends and the script absolutely wonderful and I thank also thank all the staff and especially for @user DC:


I like it!
I like it!

old error expend near"."

like cs2d
User Off Offline

-- SUPPLY --
addhook('objectdamage', '_objectdamageHook')

function _objectdamageHook(dynid, dmg)
if object(dynid, 'typename') == 'Super Supply' and dmg > 0 then
return 1
end
end

-- BANK --
addhook("use","supp6")
function supp6(id,x,y)
      if player(id,"tilex") == 32 and player(id,"tiley") == 34 or player(id,"tilex") == 33 and player(id,"tiley") == 33 or player(id,"tilex") == 34 and player(id,"tiley") == 34 or player(id,"tilex") == 63 and player(id,"tiley") == 16 or player(id,"tilex") == 62 and player(id,"tiley") == 17 or player(id,"tilex") == 63 and player(id,"tiley") == 18 or player(id,"tilex") == 63 and player(id,"tiley") == 45 or player(id,"tilex") == 62 and player(id,"tiley") == 46 or player(id,"tilex") == 63 and player(id,"tiley") == 47 then
     menu(id,"Automatic Banking Machine,CheckBalance,Deposit...,Withdraw...")
     end
end

addhook("menu","potatosauces")
function potatosauces(id,title,button)
if title == "Automatic Banking Machine" then
if button == 1 then
     msg("©000255000Money on your bank account: $0@C")
elseif button == 2 then
     menu(id,"Deposit...,$100,$500,$1000,$5000,$10000,$16000")
elseif button == 3 then
     menu(id,"Withdraw...,$100,$500,$1000,$5000,$10000,$16000")
          end
     end
end

parse("spawnobject 15 33 34 0 0 0 0")
parse("spawnobject 15 63 17 0 0 0 0")
parse("spawnobject 15 63 46 0 0 0 0")

-- BOMB SHOP --
addhook("use","supp5")
function supp5(id,x,y)
      if player(id,"tilex") == 22 and player(id,"tiley") == 33 or player(id,"tilex") == 23 and player(id,"tiley") == 32 or player(id,"tilex") == 24 and player(id,"tiley") == 33 or player(id,"tilex") == 46 and player(id,"tiley") == 60 or player(id,"tilex") == 47 and player(id,"tiley") == 61 or player(id,"tilex") == 48 and player(id,"tiley") == 60 then
     menu(id,"Bomb Shop,He Grenade|$1 000,FlashBang|$2 000,Smoke Grenade|$5 000,Flare|$6 000,Air Strike|$10 000,Bomb|$15 000,Gas Mask|$15 000,,Nukes...")
     end
end

addhook("menu","potatosauce")
function potatosauce(id,title,button)
if title == "Bomb Shop" then
if button == 1 then
     if rp_money[id]>=1000 then
     parse("spawnitem 51 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-1000
else
nmn(id)
end
elseif button == 2 then
     if rp_money[id]>=2000 then
     parse("spawnitem 52 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-2000
else
nmn(id)
end
elseif button == 3 then
     if rp_money[id]>=5000 then
     parse("spawnitem 53 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-5000
else
nmn(id)
end
elseif button == 4 then
     if rp_money[id]>=6000 then
     parse("spawnitem 54 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-6000
else
nmn(id)
end
elseif button == 5 then
     if rp_money[id]>=10000 then
     parse("spawnitem 76 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-10000
else
nmn(id)
end
elseif button == 6 then
     if rp_money[id]>=15000 then
     parse("spawnitem 55 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-15000
else
nmn(id)
end
elseif button == 7 then
     if rp_money[id]>=15000 then
     parse("spawnitem 60 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-15000
else
nmn(id)
end     
elseif button == 9 then
     menu(id,"Bomb Shop - Nuke,50 kt|$7 000,100 kt|$15 000,200 kt|$25 000,500 kt|$35 000,1 mt|$100 000,2 mt|$200 000,5 mt|$500 000,10 mt|$1 000 000")
          end
     end
end

parse("spawnobject 15 23 33 0 0 0 0")
parse("spawnobject 15 47 60 0 0 0 0")



-- ARMOR SHOP --
addhook("use","supp4")
function supp4(id,x,y)
      if player(id,"tilex") == 29 and player(id,"tiley") == 20 or player(id,"tilex") == 29 and player(id,"tiley") == 18 or player(id,"tilex") == 30 and player(id,"tiley") == 19 then
     menu(id,"Armor Store,Light Armor|$1 000,Tactical Shield|$5 000,Armor|$10 000,Heavy Armor|$25 000,Stealth Armor|$50 000,Super Armor|$500 000,,Medic Armor|$1 000 000")
     end
end

addhook("menu","potatosa")
function potatosa(id,title,button)
if title == "Armor Store" then
if button == 1 then
     if rp_money[id]>=1000 then
     parse("spawnitem 79 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-1000
else
nmn(id)
end
elseif button == 2 then
     if rp_money[id]>=5000 then
     parse("spawnitem 41 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-5000
else
nmn(id)
end
elseif button == 3 then
     if rp_money[id]>=10000 then
     parse("spawnitem 80 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-10000
else
nmn(id)
end
elseif button == 4 then
     if rp_money[id]>=25000 then
     parse("spawnitem 81 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-25000
else
nmn(id)
end
elseif button == 5 then
     if rp_money[id]>=50000 then
     parse("spawnitem 84 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-50000
else
nmn(id)
end
elseif button == 6 then
     if rp_money[id]>=500000 then
     parse("spawnitem 83 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-500000
else
nmn(id)
end
elseif button == 8 then
     if rp_money[id]>=1000000 then
     parse("spawnitem 82 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-1000000
else
nmn(id)
               end
          end
     end
end

parse("spawnobject 15 29 19 0 0 0 0")

-- WEAPON SHOP --
addhook("use","supp3")
function supp3(id,x,y)
      if player(id,"tilex") == 58 and player(id,"tiley") == 34 or player(id,"tilex") == 59 and player(id,"tiley") == 35 or player(id,"tilex") == 58 and player(id,"tiley") == 36 or player(id,"tilex") == 76 and player(id,"tiley") == 60 or player(id,"tilex") == 77 and player(id,"tiley") == 61 or player(id,"tilex") == 78 and player(id,"tiley") == 60 then
     menu(id,"Weapon Shop,AWP|$1 000,FlameThrower|$5 000,Grenade Launcher|$10 000,RPG Launcher|$25 000,FN 2000|$30 000,M134|$40 000,Laser|$100 000,,AmmoPack|$500")
     end
end

addhook("menu","potato")
function potato(id,title,button)
if title == "Weapon Shop" then
if button == 1 then
     if rp_money[id]>=1000 then
     parse("spawnitem 35 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-1000
else
nmn(id)
end
elseif button == 2 then
     if rp_money[id]>=5000 then
     parse("spawnitem 46 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-5000
else
nmn(id)
end
elseif button == 3 then
     if rp_money[id]>=10000 then
     parse("spawnitem 49 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-10000
else
nmn(id)
end
elseif button == 4 then
     if rp_money[id]>=25000 then
     parse("spawnitem 47 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-25000
else
nmn(id)
end
elseif button == 5 then
     if rp_money[id]>=30000 then
     parse("spawnitem 91 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-30000
else
nmn(id)
end
elseif button == 6 then
     if rp_money[id]>=40000 then
     parse("spawnitem 90 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-40000
else
nmn(id)
end
elseif button == 7 then
     if rp_money[id]>=100000 then
     parse("spawnitem 45 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-100000
else
nmn(id)
end
elseif button == 9 then
     if rp_money[id]>=500 then
     parse("spawnitem 61 "..player(id,"tilex").." "..player(id,"tiley"))
     rp_money[id]=rp_money[id]-500
else
nmn(id)
               end
          end
     end
end

parse("spawnobject 15 58 35 0 0 0 0")
parse("spawnobject 15 77 60 0 0 0 0")

-- HP STORE --
addhook("use","supp1")
function supp1(id,x,y)
      if player(id,"tilex") == 20 and player(id,"tiley") == 19 or player(id,"tilex") == 19 and player(id,"tiley") == 20 or player(id,"tilex") == 20 and player(id,"tiley") == 21 or player(id,"tilex") == 51 and player(id,"tiley") == 28 or player(id,"tilex") == 53 and player(id,"tiley") == 28 or player(id,"tilex") == 52 and player(id,"tiley") == 29 then
     menu(id,"Drug Store,Fast Speed|$7 000,Limit Speed|$15 000,High Speed|$50 000,Turbo Speed|$90 000,,HP Burst|$5 000,Big HP Burst|$15 000")
     end
end

addhook("menu","xd")
function xd(id,title,button)
if title == "Drug Store" then
if button == 1 then
     if rp_money[id]>=7000 then
     parse("speedmod "..id.." 20")
     rp_money[id]=rp_money[id]-7000
else
nmn(id)
end
elseif button == 2 then
     if rp_money[id]>=15000 then
     parse("speedmod "..id.." 35")
     rp_money[id]=rp_money[id]-15000
else
nmn(id)
end
elseif button == 3 then
     if rp_money[id]>=50000 then
     parse("speedmod "..id.." 65")
     rp_money[id]=rp_money[id]-50000
else
nmn(id)
end
elseif button == 4 then
     if rp_money[id]>=90000 then
     parse("speedmod "..id.." 100")
     rp_money[id]=rp_money[id]-90000
else
nmn(id)
end
elseif button == 6 then
     if rp_money[id]>=5000 then
     parse("setmaxhealth "..id.." 150")
     rp_money[id]=rp_money[id]-5000
else
nmn(id)
end
elseif button == 7 then
     if rp_money[id]>=15000 then
     parse("setmaxhealth "..id.." 250")
     rp_money[id]=rp_money[id]-15000
else
nmn(id)
               end
          end
     end
end

parse("spawnobject 15 20 20 0 0 0 0")
parse("spawnobject 15 52 28 0 0 0 0")
I like it!
edited 2×, last 16.04.15 04:10:36 pm

old map not working

The HBK
User Off Offline

LOAD MAP: failed to load tiles '2dcustomizersV2.bmp'

map wont load

old

CS2D Boss
BANNED Off Offline

Appreciated . any new version with fixed bugs , new features ?
I'll remove my like , try to make a new version with fixed bugs and new features , with a map always .
like others , they upload the script with the "map" always and usually .
I like it!

old

Sparty
Reviewer Off Offline

Yaesss, Ali G in da house.
Which means worthless and Don't think its good.

old

Varna97
User Off Offline

Awesome, But i prefer the C-4 server's one.
edited 1×, last 01.01.16 07:51:02 pm

old

RedizGaming
GAME BANNED Off Offline

it is rp_austor no amstria

old

Xirot
User Off Offline

Roleplay still on CS2D? lol.

old

HaloX
User Off Offline

@user Hellcat: New version...
I like it!

old

Hellcat
GAME BANNED Off Offline

New amstria version or edited?

old

M0BSTAZ
User Off Offline

thanks guys!

old Nice

Spartaaa
User Off Offline

i waiting for this.Thank you very much
I like it!
To the start Previous 1 2 Next To the start