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

question

EL Polako

New Member
Joined
Mar 25, 2009
Messages
153
Reaction score
1
allowClones only in some players
is it posible to allowClones only in some players ?If yes that how it to do ?
 
I'm not sure about this script, just test it:
@ login.lua, add after function onLogin(cid) this:
Lua:
	if getConfigValue('allowClones') and getPlayerAccount(cid) ~= 1 then
		for _, pid in ipairs(getPlayersOnline()) do
			if getPlayerGUID(pid) == getPlayerGUID(cid) then
				return false
			end
		end
	end
dunno if will work :p allowClones must be set to true ofc @ config.lua
 
Back
Top