Text in a variable?
#1

Hello,
I never tested it but can some one tell me how can we store text in a variable?Like I want to make a ****system and when a player types a command,he can see the text a person sent him.I am really confused.

ThAnKs!
Reply
#2

pawn Код:
new Variable[128];
format(Variable,128,"%s","TEXT");
?
Reply
#3

I want to make it like a player uses a cmd to send a text,then thee text is stored in a variable.Then the target player types a cmd and he recieves the text.That would be done by
Reply
#4

pawn Код:
new string[126],
        textVariable[126];

format(string, sizeof(string), "%s", params);
strmid(textVariable, params, 0, strlen(params), 255);
?
Reply
#5

Hmm..ThAnKs!Not tried it but I think I needed exactly this thing.But how would I send it to a player?How would I do it like the target player get's a notification that you have a message and he types a cmd and he get's the message?No full codes just a explanation or some small codes.
Reply
#6

Anyone?
Reply
#7

SomeOne?

Please.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)