cj022
i iz so 1338
A simple toggle for chrome and cartoon mode. If you feel this is worthless, useless or stupid then report it. I have seen a few people looking for this:
Code:
toggleCC()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
for ( ;; ) {
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 1);
self iPrintlnBold( "Cartoon Mode ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_fullbright", 0);
self setClientDvar( "r_specularmap", 2);
self iPrintlnBold( "Cartoon Mode ^1Off^7; Chrome Mod ^1On" );
}
self waittill( "dpad_left" ); {
self setClientDvar("r_specularmap", "Unchanged");
self iPrintlnBold( "All Display Mods ^1Off" );
}
}
}