alexxxxxxx
Active Member
- Joined
- Aug 16, 2015
- Messages
- 22
- Reaction score
- 35
- Location
- Brasil
- GitHub
- l3k0t
- YouTube
- UCMP25Br519j7dD1FF
alexxxxxxx submitted a new resource:
Added Tile Check for 11069, 11060, and Walkthrough in PVP within Protection Zone (PZ) - tfs 0.4
Read more about this resource...
Added Tile Check for 11069, 11060, and Walkthrough in PVP within Protection Zone (PZ) - tfs 0.4
I modified the canWalkthrough function to prevent crossing specific tiles (like 11059 and 11060) if a player is already standing on them, ensuring that no one enters the same depot, which is common in PVP. So, we will remove this.
Check the world type (PVP / non-PVP / etc.) and protection zones.
In PVP, players can cross if they are outside a protection zone or when neither is in combat.
Here are the changes:
Go to Player.cpp and find:
LUA:bool Player::canWalkthrough(const...
Read more about this resource...