|
 |
|
|
|
|
|
GTA Modification Forums
how to delete a mode from gta? need help deleting a mode from gta
 |
|
 |
| |
Deji  |
Posted: Thursday, Apr 12 2012, 18:15
|
Coding like a Rockstar!

Group: Members
Joined: Dec 24, 2007


|
| QUOTE (NTAuthority @ Thursday, Apr 12 2012, 18:02) | | QUOTE (Deji @ Thursday, Apr 12 2012, 15:07) | You could still delete it with some scripting.
Compile this in Sanny Builder 3, go right up to the object and press the Delete key (not backspace):
| CODE | {$CLEO} 0000: WHILE TRUE 003D: 0256: player 0 defined JF CONTINUE IF 0AB0: key_pressed 0x2E THEN IF 0AE3: 0@ = random_object_near_point 0@ 1@ 2@ in_radius 6.0 find_next 0 THEN REPEAT IF 09CC: object 0@ model_is #MINIGUN THEN 0108: destroy_object 0@ BREAK END UNTIL 8AE3: NOT 0@ = random_object_near_point 0@ 1@ 2@ in_radius 6.0 find_next 1 END END END |
Careful not to accidently delete another minigun. Remove the script once you've saved the game. |
That seems to remove objects, which presumably won't delete the linked pickup entries, of which there are likely a lot due to repeated runs of the script and evidenced by the issues creating new pickups. | Yeah, I thought the only remaining problem was the existance of the minigun. Apparently not. I didn't actually investigate the script in question. My bad.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
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.
| |
 |
|
 |
|
|
|
|