Jump to content

[AJUDA] Verificar se o player está com a SKIN


peu

Recommended Posts

Posted (edited)

Boa tarde, então pessoal procurei na WIKI, sou novo no MTA, estou criando um script no qual deixa o player invisível, porém só quero que ele consiga usar o comando de ficar invisível quando esteja usando tal skin, porém ainda não sei usar a wiki muito bem, então não achei a função que faça essa verificação se o player está ou não com a skin

Edited by Matheus Nascimento
Posted
16 hours ago, czarsight said:

if getElementModel(jogador) == ID_SKIN then
	FicarInvisivel()
end

 

Funcionou aqui, obgd

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...