# Realsed Fy_pool_day

## Do you like the map?

• ### No Its blows!!!!!!!!

• Total voters
98
• Poll closed .

#### orpgs

##### Banned User
Hello here is my fy_pool_day map from orpgs!

and if you want to planting the bomb here is the script!

Code:
``````----------Plastic Bomb Put in Action-----------

local PLANTING_DELAY = 5 --seconds
local EXPLOSION_DELAY = 1000 --milliseconds
local MAX_HIT = 500
local MIN_HIT = 100

local PVP = true -- true for PVP, false for Non-PVP

local PLAYERS = {}

function isInArray(table, valor)
for i,j in pairs(table) do
if (j == valor) then
return i
end
end
return 0
end

function explosion(info)
area = {
{0,0,0,0,0},
{0,1,1,1,0},
{0,1,1,1,0},
{0,1,1,1,0},
{0,0,0,0,0},
}
hitpos = {x=info.pos.x, y=info.pos.y, z=info.pos.z, stackpos=253}
center = {}
center.y = math.floor(table.getn(area)/2)+1
for i in ipairs(area) do
center.x = math.floor(table.getn(area[i])/2)+1
for j, v in ipairs(area[i]) do
if (v == 1) then
hitpos.x = info.pos.x + (j - center.x)
hitpos.y = info.pos.y + (i - center.y)
if (getTilePzInfo(hitpos) == 0) then
victim = getThingfromPos(hitpos)
effect = 4
if ((j == center.x) and (i == center.y)) then
doSendAnimatedText(hitpos,"KABOOOOOM",TEXTCOLOR_RED)
hitpoints = MAX_HIT
effect = 5
else
hitpoints = math.random(MIN_HIT,MAX_HIT)
end
if (isPlayer(victim.uid) == 1) then
if (PVP == true) then
doPlayerSendTextMessage(victim.uid,20,"You have lost "..hitpoints.." hitpoints by "..getPlayerName(info.player).."'s plastic bomb")
else
hitpoints = 0
end
end
if (isCreature(victim.uid) == 1) then
end
doSendMagicEffect(hitpos,effect)
end
end
end
end
PLAYERS[isInArray(PLAYERS, info.player)] = 0
mayNotLogout(info.player, 0)
return 1
end

function planting(info)
if info.num == PLANTING_DELAY then
doPlayerSendTextMessage(info.player,22,"Plastic Bomb successfully planted!")
mayNotMove(info.player,0)
else
info.num = info.num + 1
doPlayerSendTextMessage(info.player,22,info.num.."...")
end
return 1
end

function onUse(cid, item, frompos, item2, topos)
position = getThingPos(item.uid)
if (getTilePzInfo(position) == 0) then
if (isInArray(PLAYERS, cid) == 0) then
table.insert(PLAYERS, cid)
doSendMagicEffect(frompos,3)
info = {player = cid, pos = position, num = 1}
doPlayerSendTextMessage(cid,22,"Planting the bomb...")
doPlayerSendTextMessage(cid,22,"1...")
mayNotMove(cid,1)
mayNotLogout(cid, 1)
doRemoveItem(item.uid,1)
else
doPlayerSendCancel(cid,"You can only plant one bomb at the same time.")
end
else
doPlayerSendCancel(cid,"You can not plant this bomb in a PZ!")
end
return 1
end``````
Code:
``<action itemid="4852" script="bomb.lua"  />``
100% virus free scan if you want!

#### Attachments

• 112.5 KB Views: 1,183
Last edited by a moderator:

#### Bintzer

##### One Love
What is this?

All I can tell is that it's in the wrong section.

#### Zoriath

##### Active Member
This doesn't belong here. Belongs in download section. This hasn't been scanned yet, if you want to download it, I suggest you better wait till it has been moved and approved by a moderator.

OP
O

#### orpgs

##### Banned User
Okay but its dont be moved!

#### Neon

##### The One and Only
hahaha, map from counter strike xD

#### ragal

##### New Member
its very easy to make herself ;p

#### Peroxide

##### Gone since January 2018
Hahaha this could be used like a playlist on Halo 3 (Neutral Assualt)
Some make a neutral assault script plAX!!!!!

#### arminfific

##### :!
Ahah nicenice I like it

#### Tony32

##### Legendary OT User
ROLFMAO! Awesome! xD

#### Donio

##### Banned User
its to big i think xD

OP
O

#### orpgs

##### Banned User
Awesome map Orpgs you have good fantasy! not like other tracking rl maps -.-

=\ =\ =\ =\

Good work

#### legendofwars

##### Banned User
Nice job man i like Fy_pool_day

#### Illusion Storm

good work :thumbup:

#### Zoriax_

##### Owner|Antarctica Ots
Make more Maps it good for War Servers

#### Pro Warbringer

##### Retired with developing
Its bad + its wrong mappd

OP
O