XADRENALINEIX

Noke x Dev's On/Off, Green/Red Toggle For Muskels Menu

May 20th, 2013
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. if(menu[i].type == 1){
  2. if(menu[i].value){
  3. set_up_draw(3,0.35,0.35,0,255,0,a);
  4. draw_text("STRING",(pos_x + 0.3),pos_y,"On");
  5. }
  6. else{
  7. set_up_draw(3,0.35,0.35,255,0,0,a);
  8. draw_text("STRING",(pos_x + 0.3),pos_y,"Off");
  9. }
  10. }
  11. //Add this into your core.cpp for On toggle = Green + Off toggle = Red
  12. // Core.cpp/c if(menu[i].type == 1){
Advertisement
Add Comment
Please, Sign In to add comment