Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onWebRequest(ip, port, url, protocol) {
- local request = split(url, "/");
- if(typeof request == "array")
- callEvent("onAPIRequest", 1, request, ip, port);
- }
- addEventHandler("onWebRequest", onWebRequest);
Advertisement
Add Comment
Please, Sign In to add comment