biscoitoimproprio Posted March 28, 2019 Share Posted March 28, 2019 Quote Preciso de ajuda, estou fazendo um script que eu digito /gerarkey (quantia de dinheiro) e gera uma key aleatoria e que o player so pode usar 1 vez alguem me ajuda ? function dardinheiro ( player ) bool addCommandHandler ( string gerarkey, function dardinheiro [, bool restricted = false, bool caseSensitive = true ] ) Link to comment
Other Languages Moderators Lord Henry Posted March 29, 2019 Other Languages Moderators Share Posted March 29, 2019 Se a key for com números, vc pode gerar com math.random. Se for com letras tipo um serial, dai é bem mais complicado. Link to comment
DNL291 Posted March 29, 2019 Share Posted March 29, 2019 Você pode usar esta função útil para gerar a key: https://wiki.multitheftauto.com/wiki/GenerateString 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now