{"action":"created","issue":{"url":"https://api.github.com/repos/crosire/scripthookvdotnet/issues/266","labels_url":"https://api.github.com/repos/crosire/scripthookvdotnet/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/crosire/scripthookvdotnet/issues/266/comments","events_url":"https://api.github.com/repos/crosire/scripthookvdotnet/issues/266/events","html_url":"https://github.com/crosire/scripthookvdotnet/issues/266","id":97474888,"number":266,"title":"Player Health problems?","user":{"login":"George0828Zhang","id":13522703,"avatar_url":"https://avatars.githubusercontent.com/u/13522703?v=3","gravatar_id":"","url":"https://api.github.com/users/George0828Zhang","html_url":"https://github.com/George0828Zhang","followers_url":"https://api.github.com/users/George0828Zhang/followers","following_url":"https://api.github.com/users/George0828Zhang/following{/other_user}","gists_url":"https://api.github.com/users/George0828Zhang/gists{/gist_id}","starred_url":"https://api.github.com/users/George0828Zhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/George0828Zhang/subscriptions","organizations_url":"https://api.github.com/users/George0828Zhang/orgs","repos_url":"https://api.github.com/users/George0828Zhang/repos","events_url":"https://api.github.com/users/George0828Zhang/events{/privacy}","received_events_url":"https://api.github.com/users/George0828Zhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-27T14:20:51Z","updated_at":"2015-08-07T08:55:40Z","closed_at":null,"body":"\r\n\r\nthis is what happened:\r\n\r\nafter I set the player's max health to 500, I then set player's health to 500, but somehow it doesn't work, though the player's max health was increased, the player's health just remained 100(1/5 of the healthbar), has someone help me?\r\n\r\nplayerPed.MaxHealth = 500;//this works\r\nplayerPed.Health = 500;//not working\r\nFunction.Call(Hash.SET_ENTITY_HEALTH, playerPed, 500);//not working either\r\n\r\nby the way the healthpacks still works fine however.\r\n"},"comment":{"url":"https://api.github.com/repos/crosire/scripthookvdotnet/issues/comments/128644852","html_url":"https://github.com/crosire/scripthookvdotnet/issues/266#issuecomment-128644852","issue_url":"https://api.github.com/repos/crosire/scripthookvdotnet/issues/266","id":128644852,"user":{"login":"George0828Zhang","id":13522703,"avatar_url":"https://avatars.githubusercontent.com/u/13522703?v=3","gravatar_id":"","url":"https://api.github.com/users/George0828Zhang","html_url":"https://github.com/George0828Zhang","followers_url":"https://api.github.com/users/George0828Zhang/followers","following_url":"https://api.github.com/users/George0828Zhang/following{/other_user}","gists_url":"https://api.github.com/users/George0828Zhang/gists{/gist_id}","starred_url":"https://api.github.com/users/George0828Zhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/George0828Zhang/subscriptions","organizations_url":"https://api.github.com/users/George0828Zhang/orgs","repos_url":"https://api.github.com/users/George0828Zhang/repos","events_url":"https://api.github.com/users/George0828Zhang/events{/privacy}","received_events_url":"https://api.github.com/users/George0828Zhang/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T08:55:40Z","updated_at":"2015-08-07T08:55:40Z","body":"@Birdboat I tried to set it to 500 without setting max value, it won't work."}}