Jump to content

Preciso de ajuda em um script


Recommended Posts

Posted

Eu queria saber, como eu posso verificar se o player está portando uma m4, se ele estiver, ai eu quero que dê procedência a função.
Alguém poderia me audar ??

  • Other Languages Moderators
Posted
if (getPedWeapon (thePlayer, 5) == 31) then -- Se o jogador tem uma M4 no slot 5, então:
    -- CODE
end

 

  • Thanks 1
Posted
58 minutes ago, Lord Henry said:

if (getPedWeapon (thePlayer, 5) == 31) then -- Se o jogador tem uma M4 no slot 5, então:
    -- CODE
end

 

Muitoooo obrigado.

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