Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(menu[i].type == 1){
- if(menu[i].value){
- set_up_draw(3,0.35,0.35,0,255,0,a);
- draw_text("STRING",(pos_x + 0.3),pos_y,"On");
- }
- else{
- set_up_draw(3,0.35,0.35,255,0,0,a);
- draw_text("STRING",(pos_x + 0.3),pos_y,"Off");
- }
- }
- //Add this into your core.cpp for On toggle = Green + Off toggle = Red
- // Core.cpp/c if(menu[i].type == 1){
Advertisement
Add Comment
Please, Sign In to add comment