Hey,
i think the most of u know the PTC FogR, FogG, FogB
and the most of u they want to use it have the problem with the value.
With this source you can use th value between 0-255
This source is made in Gellins Base, but it works on all Bases(u can use it also in hotkey, but this is not nice to control)
Globals:
[php]int boxr, boxg, boxb;
char fogr[10],fogg[10],fogb[10];[/php]
Source(without any Errors, Credits me. If an other one use the same, hey u found it also
)
[php]sprintf(fogr, "FogR %i" , Menu.mOpt[44].nopt);
sprintf(fogg, "FogG %i" , Menu.mOpt[45].nopt);
sprintf(fogb, "FogB %i" , Menu.mOpt[46].nopt);
this->PushToConsole((char*) fogr);
this->PushToConsole((char*) fogg);
this->PushToConsole((char*) fogb);[/php]
by The AddItem function u need max Value 255 for the color
f.e.
AddItem(FogR , 255, 0, Y);
i repeat Credits: kotentopf (me)
i hope
enjoy^^
oh coped to much, the int boxr, boxg, boxb ignore pls^^