thx
Scripts
Steam save
Steam save

§5.3 - No memes, ASCII art or comparable fun pictures
§5.3 - No memes, ASCII art or comparable fun pictures
Talented Doge: You just updated your comment to make yourself so mean in our eyes. Suit yourself.
Masea: I don't really care if I look mean in your eyes.
Talented Doge: I didn't say "my eyes", I said "our eyes" anyway. Moreover, you better start caring (at least for the rest, not for me) until you got banned.
maninja: Use the search function for your problems and you'll find that there are scripts out there that have steam save already.
Talented Doge: Instead of blaming him, you could maybe help? I am sure you were younger and inexperienced, too. Don't tell me that you were born as a professional.
maninja:
Talented Doge: Oh, by the way, CS2D is indeed on the border or already in the way to have zero players. Instead of giving this guy respect for still trying to put some breath to the game, you make him leave. Good job. So nice. Our community must be so important to you, so CS2D.
Marcell: THX Yes I mean it But I found no one to help me You can Hellp me ? please
maninja: First of all, do you use any existing Roleplay mod or you are willing to make a new? function rp_join(id)
	rp_license[id]=0
	rp_ct[id]=false
	rp_Adminlevel[id]=0
	rp_arrest[id]=false
	rp_vip[id] = 0
	player_have_pos[id]=false
	tele_x[id]=800
	tele_y[id]=200
	tsb[id]=0
	rp_money[id]= 100
	UsgnIds[id]= 0
	rp_vipaddons[id]=0
	rp_NextAddons[id]=0
	jtag[id]=0
	stag[id]=0
	bmode[id]=2
	rp_Buildhelp[id] = 0
	InternalFreeImage(id)
	InternalFreeAddons(id)
	local UsgnID = player(id,"usgn")
	UsgnIds[id] = 0
	if UsgnID > 0 then
		local sameusgn = false
		for ids = 1,32 do
			if ids~=id then
				if UsgnIds[ids]==UsgnID then
					sameusgn=true
					break
				end
			end
		end
		if sameusgn==false then
			gmsg2(id,"000255000","Login with "..UsgnID)
			rp_Adminlevel[id]= isAdmin(UsgnID)
			rp_vip[id] = isvip(UsgnID)
			local filename = "sys/lua/IF/User data/"..UsgnID..".txt"
			local file = io.open(filename)
				if file then
				LoadUserStat(id,file)
				cu(id,UsgnID)
				gmsg2(id,"000255000","Load Successfully!")
					if rp_Adminlevel[id]>=1 then
						rp_ct[id]=true
						rp_license[id]=4
						SetAddons(id,1)
						rp_arrest[id]= false
						gmode[id] = 1
						rp_Buildhelp[id] = 1
					end	
				if file ~= nil then
					file:close()
				end
			end
			UsgnIds[id] = UsgnID
		else
			gmsg2(id,"255000000","Load fail!")
		end
	else
		gmsg2(id,"255000000","Please register a U.S.G.N. account ")
		gmsg2(id,"255000000","Your money and license not save on Database")
	end
function SaveUserStat(id,UsgnID)
	file = io.open("sys/lua/IF/User data/"..UsgnID..'.txt', "w+") or io.tmpfile()
	local text = ""
	text = tostring(rp_money[id])
	text = text .." "..rp_license[id]
	if rp_arrest[id]==true then
		text = text .." 1"
	else
		text = text .." 0"
	end
	text = text.." "..jtag[id]
	text = text.." "..stag[id]	
	for k, v in ipairs(Addons) do
		text = text .." "..v.FLic[id]
	end
	file:write(text)
	file:close()
end
function LoadUserStat(id,file)
	for line in file:lines() do
		local parses = totable(line)
		local userMoney=tonumber(parses[1])
		if userMoney ~= nil then
			rp_money[id]= userMoney
		end
		if (tonumber(parses[2])~=nil) then
			rp_license[id]=tonumber(parses[2])
		end
		if (tonumber(parses[3]) == 1) then
			rp_arrest[id]=true
		end
		if (tonumber(parses[4])~=nil) then
			jtag[id]=tonumber(parses[5])
		end
		if (tonumber(parses[5])~=nil) then
			stag[id]=tonumber(parses[5])
		end
		local counter=5
		for k, v in ipairs(Addons) do
			counter=counter+1
			local LicItem = tonumber(parses[counter])
			if LicItem~=nil then
				v.FLic[id]=LicItem
			else
				v.FLic[id]=0
			end	
		end
	end
end
maninja:
cs2d_is_a_Gem passed it to him, and he also asked me on Discord to help implement a Steam save feature for him, which I did. Something like
Cure Pikachu: you too @
Marcell:
2 The beest
mp_maxclientip 1, otherwise users can double their money by entering with steam accounts and usgn using two windows.