R renko Active member Joined Jul 8, 2014 Messages 58 Reaction score 0 Jul 15, 2014 #1 Can you explain me how is this working ? Code: 04F7: status_text $HP type 1 line 1 GXT 'fem_Vehicle' From what can i see is like a HP bar but you can't change it's location, size etc.. or you can ?! Thanks
Can you explain me how is this working ? Code: 04F7: status_text $HP type 1 line 1 GXT 'fem_Vehicle' From what can i see is like a HP bar but you can't change it's location, size etc.. or you can ?! Thanks
springfield God Joined Feb 18, 2005 Messages 2,965 Reaction score 272 Jul 15, 2014 #2 You can't. Maybe through memory hacking, but you'll need to use CE to search for addresses. Upvote 0 Downvote
R renko Active member Joined Jul 8, 2014 Messages 58 Reaction score 0 Jul 16, 2014 #3 Ok, and if i want to convert a number let's say 100 to float how can i do that ? I want it because this: Code: 0B25: samp 2@ = get_player_health 1@ from what can i see returns an int and if i want to use popandaul's snippet http://ugbase.eu/snippets/drawbar-for-everything/ i need to put the value as float. Upvote 0 Downvote
Ok, and if i want to convert a number let's say 100 to float how can i do that ? I want it because this: Code: 0B25: samp 2@ = get_player_health 1@ from what can i see returns an int and if i want to use popandaul's snippet http://ugbase.eu/snippets/drawbar-for-everything/ i need to put the value as float.
springfield God Joined Feb 18, 2005 Messages 2,965 Reaction score 272 Jul 16, 2014 #4 0093: 14@ = integer 13@ to_float I think you can use integers too, 100.0 = 100. Upvote 0 Downvote