Chuck
Well-known member
My SannyBuilder has problems and I can't fiddle with it. Can you make a .CS out of these two scripts?
monday said:Code:{$CLEO .cs} 0000: NOP 33@ = 0 32@ = 0 2@ = 0 1@ = 0 repeat wait 500 until 0AFA: is_samp_available while true wait 0 if key_down 116 then repeat wait 0 until not key_down 116 0B12: 0@ = 0@ XOR true 33@ = 0 32@ = 0 2@ = 0 1@ = 0 end if 0@ == true then if 2@ == 0 then //if 32@ > 1000 //then //0AF9: samp say_msg "/getmats" //2@++ //32@ = 0 //end else //if 2@ == 1 //then // if 32@ > 63000 // then // 0C72: set_virtual_key 90 down true // wait 200 // 0C72: set_virtual_key 90 down false // 2@ = 0 // 32@ = 0 // end end end end //if and //33@ > 1200000 //0@ == true //then //33@ = 0 // if 1@ == 0 // then // 1@ = 1 // 0AF9: samp say_msg "Test" // else // if 1@ == 1 // then // 1@ = 0 // 0AF9: samp say_msg "Test x2" // end // end //end end
I commented out some parts, you could check if the code crashes like this. If it doesn't crash you could check if the code below crashes:
Code:{$CLEO .cs} 0000: NOP 33@ = 0 32@ = 0 2@ = 0 1@ = 0 repeat wait 500 until 0AFA: is_samp_available while true wait 0 if key_down 116 then repeat wait 0 until not key_down 116 0B12: 0@ = 0@ XOR true 33@ = 0 32@ = 0 2@ = 0 1@ = 0 end if 0@ == true then if 2@ == 0 then if 32@ > 1000 then 0AF9: samp say_msg "/getmats" 2@++ 32@ = 0 end else if 2@ == 1 then if 32@ > 63000 then 0C72: set_virtual_key 90 down true wait 200 0C72: set_virtual_key 90 down false 2@ = 0 32@ = 0 end end end end //if and //33@ > 1200000 //0@ == true //then //33@ = 0 // if 1@ == 0 // then // 1@ = 1 // 0AF9: samp say_msg "Test" // else // if 1@ == 1 // then // 1@ = 0 // 0AF9: samp say_msg "Test x2" // end // end //end end