[Plugin] "ALERT"
#21

Quote:
Originally Posted by Calg00ne
View Post
A very useless plugin.
Yes it's useless, but it's still a great plugin if you're bored of reading white letters in your console.
Reply
#22

It's very basic however it may appeal to others. Personally I'll use the printc native if I want to do that.
Reply
#23

Quote:
Originally Posted by PCheriyan007
View Post
It's very basic however it may appeal to others. Personally I'll use the printc native if I want to do that.
There is no printc.. he was suggesting I make it, which I will try to.
Reply
#24

Btw 1337connor, is this the first plugin you ever made?
Reply
#25

Quote:
Originally Posted by 1337connor
View Post
There is no printc.. he was suggesting I make it, which I will try to.
LoL I was thinking about a printc before you posted this
Reply
#26

Quote:
Originally Posted by admantis
View Post
In plugin? why plugin? It's useless and stupid if you can do it in PAWN within 4 lines.

pawn Code:
stock alert(chars[])    // 1
{       // 2
    return SendClientMessageToAll(0xFF0000FF, chars); // 3
} // 4
O yeah, just an epic fail! LoL
Would be nice a plugin that sends coloured message to the console, not only coloured in red LoL
Reply
#27

This plugin can change console color text.
Reply
#28

Quote:
Originally Posted by Schurman
View Post
Do you guys even know how hard it is to make a plugin? Hard.
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 -.-


Quote:
Originally Posted by MrDeath537
View Post
Why do you use "printf" if there isn't any support for parameters?
There is.
Reply
#29

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.
Reply
#30

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.
Reply
#31

Код:
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
}
Important code is important. Out of interest, do you even know what "buffer" means?
Reply
#32

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
Код:
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
}
Important code is important. Out of interest, do you even know what "buffer" means?
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
Reply
#33

Quote:
Originally Posted by Hiddos
View Post
There is.
I was talking about Garfield's post, he posted this:

pawn Code:
#define Alert(%0) ((printf(%0)))
Reply
#34

Quote:
Originally Posted by 1337connor
Посмотреть сообщение
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
Your usage of a buffer barely fits that description, and I think a personal definition rather than a generic copied one would've been preferred.

Despite your past, present and probable future failures, well, I admire your persistence.
Reply
#35

Quote:
Originally Posted by DRIFT_HUNTER
View Post
Simple but nice one!
Thanks, Drift Hunter! I'll be adding more things soon!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)