01.06.2011, 09:23
[Plugin] "ALERT"
01.06.2011, 12:25
It's very basic however it may appeal to others. Personally I'll use the printc native if I want to do that.
01.06.2011, 13:43
01.06.2011, 14:02
Btw 1337connor, is this the first plugin you ever made?
01.06.2011, 14:40
01.06.2011, 16:21
Quote:
In plugin? why plugin? It's useless and stupid if you can do it in PAWN within 4 lines.
pawn Code:
|
Would be nice a plugin that sends coloured message to the console, not only coloured in red LoL
04.06.2011, 18:09
Who would use this? Obviously, it's funny if you can do things like it but it's more for yourself to learn from: This totally isn't worth publishing AT ALL. If someone would post a filterscript that would make all players have the same skin would you still also be so super-duper positive about it? I doubt so.
I wish Ryder never made this tutorial about plugins -.-
There is.
I wish Ryder never made this tutorial about plugins -.-
There is.
04.06.2011, 18:38
I guess a purpose of it could be for people who code on their home comptuers, to test their code, and if there is something wrong with it, they can use alert, and easily see it.
04.06.2011, 18:52
Yes i think you mean you can make 'error debuggin levels' ex green for tiny mistakes and orange for some warnings and red for errors, obivously you didn't include an changhecolor function so.. print(f) is a better way to debug a script. less mindfucking and installing and intergrating.. I men why the heck would you openup your server config , add the include and plugin etc all this work to just ignore the printf function?
Sorry guy but you need to add some really usefull functions.
Sorry guy but you need to add some really usefull functions.
04.06.2011, 19:29
Код:
static cell AMX_NATIVE_CALL alert(AMX *amx, cell *params) { char* buffer; amx_StrParam(amx,params[1],buffer); std::cout << red << "[ALERT] " << buffer << white << std::endl; return 1; // Change the return value if need }
05.06.2011, 05:01
Quote:
Код:
static cell AMX_NATIVE_CALL alert(AMX *amx, cell *params) { char* buffer; amx_StrParam(amx,params[1],buffer); std::cout << red << "[ALERT] " << buffer << white << std::endl; return 1; // Change the return value if need } |
The definition of buffer is as read
Код:
A temporary memory area or queue used when transferring data between devices or programs operating at different speeds
05.06.2011, 05:19
05.06.2011, 12:16
Quote:
Yes..
The definition of buffer is as read Код:
A temporary memory area or queue used when transferring data between devices or programs operating at different speeds |
Despite your past, present and probable future failures, well, I admire your persistence.
18.06.2011, 21:47
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)