Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- if(%@#fov_setup% == 0);
- {
- @#fov_setup = 70;
- }
- endif;
- if(litho_fov_config);
- {
- unset(litho_fov_config);
- }
- else;
- {
- set(litho_fov_config);
- unset(fov_button_config_press);
- unset(fov_config);
- unset(&b1);
- unset(&b2);
- set(&b1_cor,"c");
- set(&b2_cor,"a");
- unsafe();
- {
- do();
- {
- setlabel(litho_fov_status,"\n\n%&b1% &eFOV: &r%@#fov_setup% %&b2%\n\n %&fov_tuto%");
- fov(%@#fov_setup%);
- if(fov_config);
- {
- set(&b1,"&%&b1_cor%[-]");
- set(&b2,"&%&b2_cor%[+]");
- if(KEY_ADD);
- {
- if(%@#fov_setup% < 155);
- {
- inc(@#fov_setup);
- set(&b2_cor,"2");
- if(flood);
- {
- unset(flood);
- }
- endif;
- }
- else;
- {
- if(!flood);
- {
- log("&4Já está no máximo permitido!");
- set(flood);
- }
- endif;
- }
- endif;
- }
- else;
- {
- set(&b2_cor,"&a");
- }
- endif;
- if(KEY_SUBTRACT);
- {
- if(%@#fov_setup% > 1);
- {
- dec(@#fov_setup);
- set(&b1_cor,"4");
- if(flood);
- {
- unset(flood);
- }
- endif;
- }
- else;
- {
- if(!flood);
- {
- log("&4Já está no mínimo permitido!");
- set(flood);
- }
- endif;
- }
- endif;
- }
- else;
- {
- set(&b1_cor,"c");
- }
- endif;
- if(KEY_MULTIPLY);
- {
- set(@#fov_setup,70);
- set(&b1_cor,"4");
- set(&b2_cor,"2");
- }
- endif;
- if(KEY_DIVIDE);
- {
- do();
- {
- prompt(#fov_p,$$?,"Coloque entre os parametros o FOV desejado");
- if((%#fov_p% > 155) || (%#fov_p% < 1));
- {
- log("&4A quantia quebra os limites");
- }
- elseif(%#fov_p% == %@#fov_setup%);
- {
- break;
- }
- else;
- {
- @#fov_setup = %#fov_p%;
- log("&eFOV alterado para &6%@#fov_setup%&e.");
- break;
- }
- endif;
- }
- loop;
- }
- endif;
- if(%@#fov_setup% >= 155);
- {
- set(&b2_cor,"7");
- }
- endif;
- if(%@#fov_setup% <= 1);
- {
- set(&b1_cor,"7");
- }
- endif;
- }
- else; {
- set(&b1,"&8[-]");
- set(&b2,"&8[+]");
- }
- endif;
- if((KEY_LCONTROL) && (KEY_F) && (KEY_RETURN));
- {
- if(!fov_button_config_press);
- {
- toggle(fov_config);
- if(fov_config);
- {
- log("&aConfiguração &ahabilitada&a.");
- }
- else;
- {
- log("&cConfiguração &cdesabilitada.");
- }
- endif;
- set(fov_button_config_press);
- }
- endif;
- else;
- if(fov_button_config_press){
- unset(fov_button_config_press);
- }
- endif;
- }
- endif;
- }
- while(litho_fov_config);
- }
- endunsafe;
- setlabel(litho_fov_status,"&4FOV salvado");
- wait(7T);
- setlabel(litho_fov_status,);
- stop;
- }
- endif;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment