• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Request] 2 Teams PvP Event!!!

Danjelos

New Member
Joined
Apr 7, 2008
Messages
22
Reaction score
0
Hello,

Im looking for a script that works like, When you walk on the specific ground tile, You will be teleported in to our PvP arena and then you will come in one out of two teams, You can't choose what team your gonna join it has to be random & balanced, The two teams will fight each other, and you should not be able to kill your own team mates! Also wondering if it's possible to give each team a different outfit? And the winning team will win a reward!

While im here, i will also ask if there's a script for capture the flag i'v been looking it for it for a while!, For those who dont know what CTF is i will explain how i want i to be setup.

2 teams fight eachother on our pvp map, They will capture the other teams flag and then leave it at their base, When captured 3 flags from the other team they will win the game, If you die while carrying the flag you will dropp the flag and the flag will be restored to the original position where you took it from.
Everytime players die in this event they will be teleported to their own base and can start to fight again. When there is a winning team everyone will be teleported out of the pvp arena and the winning team will be rewarded!


Thanks in advance will rep++ if you help me!
 
ok i go post it its simple but only to teleport to arena you need to put a pvp-enforced zone


function onUse(cid, item, frompos, item2, topos)

if item.uid == 1051 and item.itemid == 3678 then
local player1pos = {x=1049, y=1206, z=5, stackpos=253}
local player2pos = {x=1050, y=1206, z=5, stackpos=253}
local player3pos = {x=1051, y=1206, z=5, stackpos=253}
local player1 = getThingfromPos(player1pos)
local player2 = getThingfromPos(player2pos)
local player3 = getThingfromPos(player3pos)

local nplayer1pos = {x=1050, y=1205, z=3, stackpos=253} --- where player 1 will be teleported
local nplayer2pos = {x=1050, y=1205, z=3, stackpos=253} --- where player 2 will be teleported
local nplayer3pos = {x=1050, y=1205, z=3, stackpos=253} --- where player 3 will be teleported

doTeleportThing(player1.uid,nplayer1pos)
doTeleportThing(player2.uid,nplayer2pos)
doTeleportThing(player3.uid,nplayer3pos)
end
end
 
Back
Top