serabella Posted June 15, 2011 Share Posted June 15, 2011 Hi, this code crashes the game: {$CLEO .cs}//------------Main-----------0A95: enable_thread_saving 032B: $811 = create_weapon_pickup #KNIFECUR group 2 ammo 0 at 2506.4832 1694.7678 17.9575032B: $811 = create_weapon_pickup #KATANA group 2 ammo 0 at 2507.5979 1698.9563 17.9575032B: $811 = create_weapon_pickup #SNIPER group 7 ammo 9999 at 2494.3528 1695.9559 23.6729032B: $811 = create_weapon_pickup #SILENCED group 3 ammo 9999 at 2500.6377 1719.0505 18.5821032B: $811 = create_weapon_pickup #c*ntGUN group 7 ammo 9999 at 2486.9497 1719.3892 18.5821032B: $811 = create_weapon_pickup #SHOVEL group 2 ammo 0 at 2501.1067 1696.7621 20.97770A93: end_custom_thread I tried by loading the models and without opcode 0A93 and 0A95 but it still crashed Link to comment Share on other sites More sharing options...
Frank.s Posted June 15, 2011 Share Posted June 15, 2011 Add 0000: nop under {$CLEO .cs} and also give each weapon a seperate handle ($0001 $0002 etc) and make sure c*ntgun isn't censored in your code. Link to comment Share on other sites More sharing options...
BnB Posted June 15, 2011 Share Posted June 15, 2011 {$CLEO .cs}0000:0A95: enable_thread_saving0213: [email protected] = create_weapon_pickup #KNIFECUR group 3 at 2506.4832 1694.7678 17.95750213: [email protected] = create_weapon_pickup #KATANA group 3 at 2507.5979 1698.9563 17.9575032B: [email protected] = create_weapon_pickup #SNIPER group 15 ammo 9999 at 2494.3528 1695.9559 23.6729032B: [email protected] = create_weapon_pickup #SILENCED group 15 ammo 9999 at 2500.6377 1719.0505 18.5821032B: [email protected] = create_weapon_pickup #c*ntGUN group 15 ammo 9999 at 2486.9497 1719.3892 18.58210213: [email protected] = create_weapon_pickup #SHOVEL group 3 at 2501.1067 1696.7621 20.97770A93: end_custom_thread Link to comment Share on other sites More sharing options...
Silent Posted June 15, 2011 Share Posted June 15, 2011 I don't recommend to add pickups via CLEO for non-personal use, as it just screws up your savegame. Oh, and 0000: is useless here Link to comment Share on other sites More sharing options...
BnB Posted June 15, 2011 Share Posted June 15, 2011 Oh, and 0000: is useless here Oh damn my bad. 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