NarUllaqua Posted April 8, 2018 Share Posted April 8, 2018 Hello. why this code does not work? it compiles, but the game crashes {$CLEO .cs} 0000: NOP :LOAD 0001: wait 0 ms 0247: request_model #PGB 0247: request_model #UZI 0002: jump @AVAILABLE :AVAILABLE 0001: wait 0 ms if and 0248: model #PGB available 0248: model #UZI available 004D: jump_if_false @LOAD 0002: jump @XD :XD 0001: wait 0 ms 009A: [email protected] = create_actor_pedtype 4 model 96 at 260.959 -1286.2788 11.0712 0223: set_actor [email protected] health_to 1300 01B2: give_actor [email protected] weapon 282 ammo 999 01C2: remove_references_to_actor [email protected] 004E: end_thread Link to comment Share on other sites More sharing options...
ZAZ Posted April 8, 2018 Share Posted April 8, 2018 01B2: give_actor [email protected] weapon need to insert a special weapon number, not model id look in sannybuilder help NarUllaqua 1 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
NarUllaqua Posted April 8, 2018 Author Share Posted April 8, 2018 01B2: give_actor [email protected] weapon need to insert a special weapon number, not model id look in sannybuilder help Thanks, I will do that Link to comment Share on other sites More sharing options...