• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Script only players with guild can enter

Cris2387

Member
Joined
Dec 30, 2013
Messages
177
Reaction score
9
hello i want a script that only allows players with guild to enter and that sends a message to everybody in red like for example if the player steps on the tile with the ID then it will allow him to pass only if he has guild and at the same time i want to script to send a message to everybody saying |PLAYERNAME| is invading the castle. something like that please help thank you
 
The server version we are talking about shows up when you start the server as:
[XX:XX:XX:XXX]The Forgotten Server, version 0.4_svn ()

If this shows upp your server version is 0.4
 
Some functions for guildcheck:

Code:
getPlayerGuildId(cid)
getPlayerGuildLevel(cid)
getPlayerGuildName(cid)
getPlayerGuildNick(cid)
getPlayerGuildRank(cid)
 
8.6 is a client version, not a server version.
The server and version can be found at the first line of your console, example of TFS 0.3.6
ezrFJ857s.png


It can be useful to mention the client version aswell since some servers are made for different client versions and could have some differences because of the different clients.
But adding the server version is most important, to know which functions and features can be used for scripts.
 
8.6 is a client version, not a server version.
The server and version can be found at the first line of your console, example of TFS 0.3.6
ezrFJ857s.png


It can be useful to mention the client version aswell since some servers are made for different client versions and could have some differences because of the different clients.
But adding the server version is most important, to know which functions and features can be used for scripts.
oh my bad is 4.1 '-'
 
Back
Top