Jump to content

Hay un evento así?


NodZen

Recommended Posts

Posted

Hola amigos, necesito saber si hay algun evento para cuando el player está apuntando con el sniper. ¿Como puedo saber cuando un player apunte?

Gracias.

Posted

una ayudita

  
function usaSniper(player) 
    player = player and isElement(player) and player or getLocalPlayer() 
    if getPedWeapon(player) == 34 and isPedDoingTask(player,"TASK_SIMPLE_USE_GUN") then 
        return true 
    end 
    return false 
end 
  

  • Recently Browsing   0 members

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