{"action":"created","comment":{"url":"https://api.github.com/repos/Open-GTO/protection/pulls/comments/92879951","pull_request_review_id":13404809,"id":92879951,"diff_hunk":"@@ -29,16 +29,20 @@ public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_\n \t\t\tFloat:max_distance,\n \t\t\tFloat:pos_x,\n \t\t\tFloat:pos_y,\n-\t\t\tFloat:pos_z;\n+\t\t\tFloat:pos_z,\n+\t\t\tFloat:angle;\n \n-\t\tGetVehiclePos(vehicleid, pos_x, pos_y, pos_z);\n+\t\tGetVehiclePos(vehicleid, pos_x, pos_y, );\n \t\tdistance = VectorSize(pos_x - new_x, pos_y - new_y, pos_z - new_z);\n \t\tmax_distance = Protection_GetParamFloat(PROTECTION_VEHICLETELEPORT, PROTECTION_MAX_DISTANCE);\n \n-\t\tif (distance > max_distance) {\n-\t\t\t// set right pos\n+\t\tif (distance > max_distance && pos_z > -70.0) {","path":"protection/vehicleteleport.inc","position":15,"original_position":15,"commit_id":"6d5adbfafc970ca0280081a6312375165efe2ca8","original_commit_id":"6d5adbfafc970ca0280081a6312375165efe2ca8","user":{"login":"ziggi","id":1020099,"avatar_url":"https://avatars.githubusercontent.com/u/1020099?v=3","gravatar_id":"","url":"https://api.github.com/users/ziggi","html_url":"https://github.com/ziggi","followers_url":"https://api.github.com/users/ziggi/followers","following_url":"https://api.github.com/users/ziggi/following{/other_user}","gists_url":"https://api.github.com/users/ziggi/gists{/gist_id}","starred_url":"https://api.github.com/users/ziggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziggi/subscriptions","organizations_url":"https://api.github.com/users/ziggi/orgs","repos_url":"https://api.github.com/users/ziggi/repos","events_url":"https://api.github.com/users/ziggi/events{/privacy}","received_events_url":"https://api.github.com/users/ziggi/received_events","type":"User","site_admin":false},"body":"Зачем проверка на высоту?","created_at":"2016-12-16T20:23:28Z","updated_at":"2016-12-16T20:23:28Z","html_url":"https://github.com/Open-GTO/protection/pull/1#discussion_r92879951","pull_request_url":"https://api.github.com/repos/Open-GTO/protection/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Open-GTO/protection/pulls/comments/92879951"},"html":{"href":"https://github.com/Open-GTO/protection/pull/1#discussion_r92879951"},"pull_request":{"href":"https://api.github.com/repos/Open-GTO/protection/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Open-GTO/protection/pulls/1","id":98221368,"html_url":"https://github.com/Open-GTO/protection/pull/1","diff_url":"https://github.com/Open-GTO/protection/pull/1.diff","patch_url":"https://github.com/Open-GTO/protection/pull/1.patch","issue_url":"https://api.github.com/repos/Open-GTO/protection/issues/1","number":1,"state":"open","locked":false,"title":"Небольшие изменения и улучшения","user":{"login":"NexiusTailer","id":13169094,"avatar_url":"https://avatars.githubusercontent.com/u/13169094?v=3","gravatar_id":"","url":"https://api.github.com/users/NexiusTailer","html_url":"https://github.com/NexiusTailer","followers_url":"https://api.github.com/users/NexiusTailer/followers","following_url":"https://api.github.com/users/NexiusTailer/following{/other_user}","gists_url":"https://api.github.com/users/NexiusTailer/gists{/gist_id}","starred_url":"https://api.github.com/users/NexiusTailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NexiusTailer/subscriptions","organizations_url":"https://api.github.com/users/NexiusTailer/orgs","repos_url":"https://api.github.com/users/NexiusTailer/repos","events_url":"https://api.github.com/users/NexiusTailer/events{/privacy}","received_events_url":"https://api.github.com/users/NexiusTailer/received_events","type":"User","site_admin":false},"body":"Некоторые улучшения и исправления","created_at":"2016-12-15T20:07:17Z","updated_at":"2016-12-16T20:23:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ef79cc47fa3c913bc306ab5147a3548efef6fa9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Open-GTO/protection/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Open-GTO/protection/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Open-GTO/protection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Open-GTO/protection/issues/1/comments","statuses_url":"https://api.github.com/repos/Open-GTO/protection/statuses/6d5adbfafc970ca0280081a6312375165efe2ca8","head":{"label":"NexiusTailer:patch-1","ref":"patch-1","sha":"6d5adbfafc970ca0280081a6312375165efe2ca8","user":{"login":"NexiusTailer","id":13169094,"avatar_url":"https://avatars.githubusercontent.com/u/13169094?v=3","gravatar_id":"","url":"https://api.github.com/users/NexiusTailer","html_url":"https://github.com/NexiusTailer","followers_url":"https://api.github.com/users/NexiusTailer/followers","following_url":"https://api.github.com/users/NexiusTailer/following{/other_user}","gists_url":"https://api.github.com/users/NexiusTailer/gists{/gist_id}","starred_url":"https://api.github.com/users/NexiusTailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NexiusTailer/subscriptions","organizations_url":"https://api.github.com/users/NexiusTailer/orgs","repos_url":"https://api.github.com/users/NexiusTailer/repos","events_url":"https://api.github.com/users/NexiusTailer/events{/privacy}","received_events_url":"https://api.github.com/users/NexiusTailer/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"Open-GTO:master","ref":"master","sha":"11e4934c3deaeb4cb5871feb3470b3dadd3f25b1","user":{"login":"Open-GTO","id":16098169,"avatar_url":"https://avatars.githubusercontent.com/u/16098169?v=3","gravatar_id":"","url":"https://api.github.com/users/Open-GTO","html_url":"https://github.com/Open-GTO","followers_url":"https://api.github.com/users/Open-GTO/followers","following_url":"https://api.github.com/users/Open-GTO/following{/other_user}","gists_url":"https://api.github.com/users/Open-GTO/gists{/gist_id}","starred_url":"https://api.github.com/users/Open-GTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Open-GTO/subscriptions","organizations_url":"https://api.github.com/users/Open-GTO/orgs","repos_url":"https://api.github.com/users/Open-GTO/repos","events_url":"https://api.github.com/users/Open-GTO/events{/privacy}","received_events_url":"https://api.github.com/users/Open-GTO/received_events","type":"Organization","site_admin":false},"repo":{"id":48275579,"name":"protection","full_name":"Open-GTO/protection","owner":{"login":"Open-GTO","id":16098169,"avatar_url":"https://avatars.githubusercontent.com/u/16098169?v=3","gravatar_id":"","url":"https://api.github.com/users/Open-GTO","html_url":"https://github.com/Open-GTO","followers_url":"https://api.github.com/users/Open-GTO/followers","following_url":"https://api.github.com/users/Open-GTO/following{/other_user}","gists_url":"https://api.github.com/users/Open-GTO/gists{/gist_id}","starred_url":"https://api.github.com/users/Open-GTO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Open-GTO/subscriptions","organizations_url":"https://api.github.com/users/Open-GTO/orgs","repos_url":"https://api.github.com/users/Open-GTO/repos","events_url":"https://api.github.com/users/Open-GTO/events{/privacy}","received_events_url":"https://api.github.com/users/Open-GTO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Open-GTO/protection","description":"Flexible server protection system (development)","fork":false,"url":"https://api.github.com/repos/Open-GTO/protection","forks_url":"https://api.github.com/repos/Open-GTO/protection/forks","keys_url":"https://api.github.com/repos/Open-GTO/protection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Open-GTO/protection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Open-GTO/protection/teams","hooks_url":"https://api.github.com/repos/Open-GTO/protection/hooks","issue_events_url":"https://api.github.com/repos/Open-GTO/protection/issues/events{/number}","events_url":"https://api.github.com/repos/Open-GTO/protection/events","assignees_url":"https://api.github.com/repos/Open-GTO/protection/assignees{/user}","branches_url":"https://api.github.com/repos/Open-GTO/protection/branches{/branch}","tags_url":"https://api.github.com/repos/Open-GTO/protection/tags","blobs_url":"https://api.github.com/repos/Open-GTO/protection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Open-GTO/protection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Open-GTO/protection/git/refs{/sha}","trees_url":"https://api.github.com/repos/Open-GTO/protection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Open-GTO/protection/statuses/{sha}","languages_url":"https://api.github.com/repos/Open-GTO/protection/languages","stargazers_url":"https://api.github.com/repos/Open-GTO/protection/stargazers","contributors_url":"https://api.github.com/repos/Open-GTO/protection/contributors","subscribers_url":"https://api.github.com/repos/Open-GTO/protection/subscribers","subscription_url":"https://api.github.com/repos/Open-GTO/protection/subscription","commits_url":"https://api.github.com/repos/Open-GTO/protection/commits{/sha}","git_commits_url":"https://api.github.com/repos/Open-GTO/protection/git/commits{/sha}","comments_url":"https://api.github.com/repos/Open-GTO/protection/comments{/number}","issue_comment_url":"https://api.github.com/repos/Open-GTO/protection/issues/comments{/number}","contents_url":"https://api.github.com/repos/Open-GTO/protection/contents/{+path}","compare_url":"https://api.github.com/repos/Open-GTO/protection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Open-GTO/protection/merges","archive_url":"https://api.github.com/repos/Open-GTO/protection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Open-GTO/protection/downloads","issues_url":"https://api.github.com/repos/Open-GTO/protection/issues{/number}","pulls_url":"https://api.github.com/repos/Open-GTO/protection/pulls{/number}","milestones_url":"https://api.github.com/repos/Open-GTO/protection/milestones{/number}","notifications_url":"https://api.github.com/repos/Open-GTO/protection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Open-GTO/protection/labels{/name}","releases_url":"https://api.github.com/repos/Open-GTO/protection/releases{/id}","deployments_url":"https://api.github.com/repos/Open-GTO/protection/deployments","created_at":"2015-12-19T09:07:10Z","updated_at":"2016-10-13T14:46:34Z","pushed_at":"2016-12-15T20:07:17Z","git_url":"git://github.com/Open-GTO/protection.git","ssh_url":"git@github.com:Open-GTO/protection.git","clone_url":"https://github.com/Open-GTO/protection.git","svn_url":"https://github.com/Open-GTO/protection","homepage":null,"size":49,"stargazers_count":3,"watchers_count":3,"language":"PAWN","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Open-GTO/protection/pulls/1"},"html":{"href":"https://github.com/Open-GTO/protection/pull/1"},"issue":{"href":"https://api.github.com/repos/Open-GTO/protection/issues/1"},"comments":{"href":"https://api.github.com/repos/Open-GTO/protection/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Open-GTO/protection/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Open-GTO/protection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Open-GTO/protection/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Open-GTO/protection/statuses/6d5adbfafc970ca0280081a6312375165efe2ca8"}}}}
{"actor":{"display_login":"ziggi"}}