• 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!

Make player cant remove party if are in X area, or if have X storage

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,210
Solutions
35
Reaction score
206
I developed an NPC that to talk to him, you need to be partying with 2 more players (totaling 3).
After talking to the NPC, he teleports all 3 party members to an arena.
I'm doing that in this arena it will be PvP 3x3 of the party teams.
For this, I need that within this area, it is not possible to remove the party, or to invite other players within the party. How should I do this? Should it be done by LUA or C ++?
Remembering, I use TFs 1.3 8.6
 
you can try using the player events on party.lua

Code:
function Party:onJoin(player)
    return true
end

function Party:onLeave(player)
    return true
end

function Party:onDisband()
    return true
end
 
Back
Top