RedM Natives

Game events

CategoryAI
Rows355
Notes from the author
 	EXAMPLE OF USE:
 Citizen.CreateThread(function()
     while true do
         Citizen.Wait(0)
  		local size = GetNumberOfEvents(0)
         if size > 0 then
             for i = 0, size - 1 do
                 local eventAtIndex = GetEventAtIndex(0, i)
                 if eventAtIndex == GetHashKey("EVENT_SHOT_FIRED_WHIZZED_BY") then
                     print('EVENT: _SHOT_FIRED_WHIZZED_BY')
                 end
             end
         end
     end
 end)
4 matches
#hashNote
34613871722330x52AE9189 -- EVENT_PLAYER_PROMPT_TRIGGERED
352-7450900750xD396D3E5 -- EVENT_IMPENDING_SAMPLE_PROMPT
20520991796100x7D1EF05A -- EVENT_ITEM_PROMPT_INFO_REQUEST
206-5823616270xDD49DDE5 -- EVENT_CARRIABLE_PROMPT_INFO_REQUEST