Jump to content

Раздевалка или скин по пикапу


Recommended Posts

On 02/09/2022 at 00:26, psih148834 said:

Я не могу не выбирается тот раздел .

Сохраняй в аккаунт дату

function startJob (pl)
	setAccountData (getPlayerAccount(pl), "prev:skin", getElementModel(pl))
	setElementModel (pl, 0)
end

function stopJob (pl)
	local prevSkin = getAccountData(getPlayerAccount(pl), "prev:skin")
  	if prevSkin then
    	setElementModel (pl, prevSkin)
    	removeAccountData(getPlayerAccount(pl), "prev:skin")
    end
end

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...