SamJohnson98 Posted September 3, 2012 Share Posted September 3, 2012 Guys, I need help with the max health opcode. What is it? I tried using 055E: set_player $PLAYER_CHAR max_health += 250 but it doesn't work. What's the code. Please help someone. Thanks. That is all. Link to comment Share on other sites More sharing options...
Bad.boy! Posted September 3, 2012 Share Posted September 3, 2012 Post full code, and you need to use this opcode to set the health: 0223: set_actor [email protected] health_to 500 And look opcodes up in the Opcode Database if you are not sure what they do. Link to comment Share on other sites More sharing options...
SamJohnson98 Posted September 4, 2012 Author Share Posted September 4, 2012 Post full code, and you need to use this opcode to set the health: 0223: set_actor [email protected] health_to 500 And look opcodes up in the Opcode Database if you are not sure what they do. That's not what I meant. I want to get the maximum health bar. The long one. Link to comment Share on other sites More sharing options...
TheGodfather. Posted September 4, 2012 Share Posted September 4, 2012 Is this what you want http://rocker453.blogspot.in/2011/09/long-...cker453-is.html Link to comment Share on other sites More sharing options...
Michael-Knight1 Posted September 4, 2012 Share Posted September 4, 2012 i made one before http://www.mediafire.com/?qvz9rgzrb599s46 Link to comment Share on other sites More sharing options...
TheGodfather. Posted September 4, 2012 Share Posted September 4, 2012 (edited) @Michaelknight :I downloaded it but it didn't worked ???? EDIT:I saw your script & I just laughed out do you know why just have a look at your script it will work never.. Edited September 4, 2012 by arijitsen Link to comment Share on other sites More sharing options...
Michael-Knight1 Posted September 4, 2012 Share Posted September 4, 2012 I downloaded it but it didn't worked ???? he work very fine but just for GTA_SA.Exe 1.0 , look here: Link to comment Share on other sites More sharing options...
TheGodfather. Posted September 4, 2012 Share Posted September 4, 2012 I am using that only .... Link to comment Share on other sites More sharing options...
SamJohnson98 Posted September 5, 2012 Author Share Posted September 5, 2012 (edited) @arijitsen No. Not the long health bar. I just want the max health like after you finished level 12 of paramedic mission. @Michael_Knight1 Thanks. But as I said to aritjisen, I want the max health after you finished paramedic mission only. Not the long one. Edited September 5, 2012 by SamJohnson98 Link to comment Share on other sites More sharing options...
Jack Posted September 5, 2012 Share Posted September 5, 2012 Bad.boy! alrady gave you the opcode. Tank Fire [SA] New Police Helicopter [VC & III] My YouTube Channel Link to comment Share on other sites More sharing options...
TheGodfather. Posted September 5, 2012 Share Posted September 5, 2012 0A1F: increase_float_stat 24 by 500.0 Link to comment Share on other sites More sharing options...
Michael-Knight1 Posted September 5, 2012 Share Posted September 5, 2012 @arijitsen No. Not the long health bar. I just want the max health like after you finished level 12 of paramedic mission.@Michael_Knight1 Thanks. But as I said to aritjisen, I want the max health after you finished paramedic mission only. Not the long one. ok . {$CLEO}0000: NOPwhile trueif0256: player $PLAYER_CHAR defined then062A: change_float_stat 24 to 1000.0 08AF: set_actor $PLAYER_ACTOR max_health_to 1000 0223: set_actor $PLAYER_ACTOR health_to 1000 end end Link to comment Share on other sites More sharing options...
Deji Posted September 5, 2012 Share Posted September 5, 2012 (edited) Why not just learn from the main.scm? PRINT_WITH_NUMBER_BIG 'A_COMP1' 5000 5000 5 // Paramedic missions complete: $~1~ADD_SCORE $PLAYER_CHAR 5000 PLAY_MISSION_PASSED_TUNE 2 IF $1487 == 0 ELSE_GOTO @AMBULAN_13143 PLAYER_MADE_PROGRESS 1PRINT 'A_COMP3' 5000 1 // ~s~Your maximum health has been increased!GET_FLOAT_STAT STAT_MaxHealth [email protected]@ = 1.5 INCREMENT_FLOAT_STAT_NO_MESSAGE STAT_MaxHealth [email protected] SCR Edited September 5, 2012 by Deji Link to comment Share on other sites More sharing options...
SamJohnson98 Posted September 5, 2012 Author Share Posted September 5, 2012 @JACK JONES It's not what I want. @arijitsen Thanks for trying to help. @Michael_Knight1 Thanks. Your script worked well. @Deji I'm not an advanced modder. I can only make little mod like spawning a car at GS. Sorry. But if you could teach me, I would like to learn. You're great and I admire your work. Link to comment Share on other sites More sharing options...
Michael-Knight1 Posted September 5, 2012 Share Posted September 5, 2012 @JACK JONES It's not what I want.@arijitsen Thanks for trying to help. @Michael_Knight1 Thanks. Your script worked well. @Deji I'm not an advanced modder. I can only make little mod like spawning a car at GS. Sorry. But if you could teach me, I would like to learn. You're great and I admire your work. you can to learn scm codding . http://www.gtaforums.com/index.php?showtopic=403790 Link to comment Share on other sites More sharing options...
SamJohnson98 Posted September 5, 2012 Author Share Posted September 5, 2012 @JACK JONES It's not what I want.@arijitsen Thanks for trying to help. @Michael_Knight1 Thanks. Your script worked well. @Deji I'm not an advanced modder. I can only make little mod like spawning a car at GS. Sorry. But if you could teach me, I would like to learn. You're great and I admire your work. you can to learn scm codding . http://www.gtaforums.com/index.php?showtopic=403790 Yeah. I know there is many tutorial but I am the kind of person that don't understand long words although I sometimes write a comment like an essay. Sorry. But I'm learning little by little by looking at peoples mods though. Heheh. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now