Help please need help fast!
#1

HELLO.

I have define
pawn Код:
#define Lol      "You are so stupid."
Now, I want to change this define 'lol' ingame to other, via command.
Please help.
Reply
#2

what do you mean
Reply
#3

Like
/setmotd "new message"??
Reply
#4

like this?
pawn Код:
if (strcmp("/setmotd", cmdtext, true, 6) == 0)
             {
             SendClientMessageToAll(YOUR_COLOR_HERE,"MESSAGE");
             return 1;
             }
Reply
#5

Quote:
Originally Posted by fangoth1
Посмотреть сообщение
like this?
pawn Код:
if (strcmp("/enter", cmdtext, true, 6) == 0)
        {
                          SendClientMessageToAll(YOUR_COLOR_HERE,"MESSAGE");
                          return 1;
                          }
No man..im completly sure that his talking about something else
Reply
#6

NOO ! like example. I have color defined:
pawn Код:
#define COLOR_RED     55555
Now, I use command, like /changeredcolor NUMBERS
Now define would be COLOR_RED NUMBERS.
Reply
#7

like so numbers are red in pawno instead of this color
pawn Код:
1
Reply
#8

NOO JESUS CRISTUS.

pawn Код:
#define COLOR_RED     55555
Now, I use command /changered 44444
Now this define would be
pawn Код:
#define COLOR_RED     44444
Reply
#9

Man,i don't think that this is possible
Anyway,if you need something like a motd,then you can create a file named Motd,when you type /changemotd you will change that text
But i don't think that you can change the defines IG

EDIT:Im not completly sure,but i think i saw #redefine somewhere but i can't remember
Reply
#10

Then how it's possible to define something and change it ingame ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)