(+rep) How to use #ERROR ?
#1

So i defined prefix in my AntiCheat, but i cannot get how to "Ban" peoples from changing it, i mean how to use #error ?
Example if they change:
#define PREFIX "{FF0000}N-AC{FFFFFF}"
into
#define PREFIX "{FF0000}SOMETHING{FFFFFF}"
to show them #error ?
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
Especially when you have hard-coded colours in that string, which is bad practice.
hello.how should we use colours in strings?whats the good practice method?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)