-- SERVER SIDE
local aclSpawns = {
["Police"] = {0, 0, 3},
}
addEventHandler("onPlayerLogin", root, function(_, account)
for aclname, pos in pairs(aclSpawns) do
if isObjectInACLGroup("user."..getAccountName(account), aclGetGroup(aclname)) then
setElementPosition(source, pos[1], pos[2], pos[3])
return
end
end
end)
something like that