Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tim_ngua()
- local client = nx_value("game_client")
- if not nx_is_valid(client) then
- return 0
- end
- local game_visual = nx_value("game_visual")
- if not nx_is_valid(game_visual) then
- return 0
- end
- local view_table = client:GetViewList()
- for i = 1, table.getn(view_table) do
- local view = view_table[i]
- if view.Ident == "2" then
- local view_obj_table = view:GetViewObjList()
- for k = 1, table.getn(view_obj_table) do
- local view_obj = view_obj_table[k]
- if view_obj:FindProp("RideBuffer") then
- local item = nx_function("ext_widestr_to_utf8", util_text(view_obj:QueryProp("ConfigID")))
- AutoSendMessage(item)
- end
- end
- break
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment