29.08.2011, 01:30
Quote:
What don't you understand ? He's asking how to save what players typed as their answer and whatever they typed get saved to a notepad file (or some other editable text file).
Add this to the bottom of the script: pawn Код:
pawn Код:
ServerDirectory/scriptfiles/TypedLog.txt When the notepad file (TypedLog) is created, the script will find this file when we use our custom SaveToFile function. Under where the player types the questions, use SaveToFile("TypedLog",string); assuming string is what is being used to format your text when they type and TypedLog as the name of your notepad file. |
I think, that he mean, that a var saves what player typed.
Somethink like this?
pawn Код:
new WhatIveWrote[255];
OnPlayerText(playerid, text[])
{
WhatIveWrote = strval(text);
return 1;
}