|
 |
|
|
|
|
|
GTA Modification Forums
Buyable House How can I make a BUYABLE house?
 |
|
 |
| |
sci4me  |
Posted: Thursday, Jun 23 2011, 19:17
|
Snitch

Group: Members
Joined: Feb 6, 2010

|
I meant the SCM method. I kinda quit on sa-mp lol. Heres what I have so far... | CODE | :BuyHouse thread "BuyHouse" 0518: $House = create_available_asset_pickup 'PROP_3' at 137.06 1934.6522 19.2586 price 5000000 // Press ~k~~PED_ANSWER_PHONE~ to buy this property. 0570: $8964 = create_asset_radar_marker_with_icon 31 at 137.06 1934.6522 19.2586
:BUY1 WAIT 0 0214: pickup $House picked_up IF @BUY1 JUMP @HOUSEBOUGHT
:HOUSEBOUGHT 03BF: set_player $PLAYER_CHAR ignored_by_everyone 1 0169: set_fade_color_RGB 0 0 1 Player.CanMove($PLAYER_CHAR) = False 02A3: enable_widescreen 1 $ONMISSION = 1 Camera.SetPosition(136.2481, 1924.7318, 25.1699, 0.0, 0.0, 0.0) Camera.PointAt(137.06, 1934.6522, 19.2586, 2) 00BA: show_text_styled GXT 'BUYPRO' time 5000 style 2 // Property bought! 0394: play_music 2 wait 5000 00BE: text_clear_all Camera.SetBehindPlayer Camera.Restore_WithJumpCut Player.CanMove($PLAYER_CHAR) = True 03BF: set_player $PLAYER_CHAR ignored_by_everyone 0 02A3: enable_widescreen 0 $ONMISSION = 0 01BD: $CURRENT_TIME_IN_MS = current_time_in_ms mission_cleanup end_thread
|
As you can tell, im a bit of a noob.  But anyway, I get this error: | CODE | Unknown directive @BUY1.
|
What to do? Thanks for all the help! PLEASE REPLY! This post has been edited by sci4me on Thursday, Jun 23 2011, 19:20
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
sci4me  |
Posted: Thursday, Jun 23 2011, 19:29
|
Snitch

Group: Members
Joined: Feb 6, 2010

|
| CODE | :SAVE thread "SAVE" $SAVE_X = 214.8009 $SAVE_Y = 1913.4453 $SAVE_Z = 17.6406
:SAVE_38 wait 0 if 0004: $Bought = 1 else_jump @SAVE_38 0395: clear_area 1 at $SAVE_X $SAVE_Y $SAVE_Z radius 1.0 $SAVE_PICKUP = Pickup.Create(#PICKUPSAVE, 3, $SAVE_X, $SAVE_Y, $SAVE_Z) 0570: 2@ = create_asset_radar_marker_with_icon 35 at $SAVE_X $SAVE_Y $SAVE_Z 018B: set_marker 2@ radar_mode 2
:SAVE_97 wait 100 Pickup.Picked_up($SAVE_PICKUP) else_jump @SAVE_97 $ONMISSION = 1 Player.CanMove($PLAYER_CHAR) = False 03D8: show_save_screen
:SAVE_129 wait 100 03D9: save_done else_jump @SAVE_129 Pickup.Destroy($SAVE_PICKUP)
:SAVE_147 wait 100 Player.Defined($PLAYER_CHAR) else_jump @SAVE_147 Camera.Restore_WithJumpCut Camera.SetBehindPlayer Player.CanMove($PLAYER_CHAR) = True $ONMISSION = 0
:SAVE_181 wait 0 80EC: not actor $PLAYER_ACTOR 0 near_point 214.8009 1913.4453 radius 2.5 2.5 else_jump @SAVE_181 jump @SAVE_38 end_thread
:BuyHouse thread "BuyHouse" 0518: $House = create_available_asset_pickup 'PROP_3' at 137.06 1934.6522 19.2586 price 5000000 // Press ~k~~PED_ANSWER_PHONE~ to buy this property. 0570: $8964 = create_asset_radar_marker_with_icon 31 at 137.06 1934.6522 19.2586
:BUY1 WAIT 0 0214: pickup $House picked_up jf @BUY1 JUMP @HOUSEBOUGHT
:HOUSEBOUGHT 03BF: set_player $PLAYER_CHAR ignored_by_everyone 1 0169: set_fade_color_RGB 0 0 1 Player.CanMove($PLAYER_CHAR) = False 02A3: enable_widescreen 1 $ONMISSION = 1 Camera.SetPosition(136.2481, 1924.7318, 25.1699, 0.0, 0.0, 0.0) Camera.PointAt(137.06, 1934.6522, 19.2586, 2) 00BA: show_text_styled GXT 'BUYPRO' time 5000 style 2 // Property bought! 0394: play_music 2 wait 5000 00BE: text_clear_all Camera.SetBehindPlayer Camera.Restore_WithJumpCut Player.CanMove($PLAYER_CHAR) = True 03BF: set_player $PLAYER_CHAR ignored_by_everyone 0 02A3: enable_widescreen 0 $ONMISSION = 0 01BD: $CURRENT_TIME_IN_MS = current_time_in_ms $Bought = 1 mission_cleanup end_thread
|
I can buy area 51, but the save thing doesnt appear... is there any way I could make these into 1 thread?
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|