,,|,,
In 0.3.6pl1 .cpp files is:@phowned
i will try it
@unknown
it could be posible allowing all and then return false where group id ~= 7 and online = 1
but i dont know how to make it all together
Then its possible to allow clones (set in config.lua value to 1). If you want make my last script work you must 'allow clones' (all players).m_confNumber[ALLOW_CLONES] = getGlobalNumber("allowClones", 0);
In 0.3.6pl1 .cpp files is:
Then its possible to allow clones (set in config.lua value to 1). If you want make my last script work you must 'allow clones' (all players).
local allowed,c = {'Cotizado'},0 --names,clones.
function onLogin(cid)
if isInArray(allowed:lower(),getCreatureName(cid):lower()) then
return TRUE
end
for _,pid in ipairs(getPlayersOnline()) do
if getCreatureName(pid) == getCreatureName(cid) then
c = c+1
end
end
if c > 1 then
return false
end
return c = 0
end
onePlayerOnlinePerAccount = true
allowClones = true