Re: [INC] Colors (1.0.2)
You're probably putting stuff in the wrong place.
|
Re: [INC] Colors (1.0.2)
IM not. PrintToChat does not have the same effect as OverflowMessage. But i want the coloured chat to be in OverflowMessage.
|
Re: [INC] Colors (1.0.2)
What is OverflowMessage? This is not a documented SM function.
|
Re: [INC] Colors (1.0.2)
yes it is. this is the full ... for it
////////////////////////////////////////////////////////////////////////////////// stock DrawMenu(Client, String:Buffers[7][64], MenuHandler:MenuHandle, Variables[7] = {0, 0, 0, 0, 0, 0, 0}, String:Title[32]) { //Declare: decl Handle:Panel; //Initialize: Panel = CreatePanel(); //Print: OverflowMessage(Client, "\x03[RP]\x04 - Press <ESC> to access the menu"); //Display: for(new X = 0; X < 7; X++) if(strlen(Buffers[X]) > 0) { //Add: DrawPanelItem(Panel, Buffers[X]); //Var: SelectedBuffer[X][Client] = Variables[X]; } //Title SetPanelTitle(Panel, Title); //Draw: SendPanelToClient(Panel, Client, MenuHandle, 30); //Close: CloseHandle(Panel); } ////////////////////////////////////////////////////////////////////////////////// |
Re: [INC] Colors (1.0.2)
Where it is from? Third party's code? I still have no idea what is OverflowMessage.
|
Re: [INC] Colors (1.0.2)
|
Re: [INC] Colors (1.0.2)
well, here is an actual code of OverflowMessage:
PHP Code:
This is the place where you should change PrintToChat to CPrintToChat. |
Re: [INC] Colors (1.0.2)
okay thanks
|
Re: [INC] Colors (1.0.2)
I have added this library to Yak's FAQs :)
|
Re: [INC] Colors (1.0.2)
Quote:
|
| All times are GMT -4. The time now is 22:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.