Help input text
#1

Hi I want to make that it will give me input text in file and not the hash text.

Please help

PHP код:
if(dialogid == 25)
{
if(
response)
{
new 
file[256], string[256];
format(filesizeof(file), Changesfile);
dini_Create(file);
dini_IntSet(file"-"udb_hash(inputtext)); //Here
format(string128"[SYSTEM]: You succesfully added a new change with this string: %s.",inputtext);
SendClientMessage(playeridCOLOR_YELLOWstring);

Reply
#2

dini_Set(file, "-", inputtext);
Reply
#3

Thanks
Reply
#4

New problem
Error: : error 006: must be assigned to an array
pawn Код:
if(dialogid == 25)
{
if(response)
{
new file[256], string[256];
format(file, sizeof(file), Changesfile);
dini_Create(file);
dini_Set(file, "", Changes[Change] = inputtext); //HERE
format(string, 128, "[SYSTEM]: You succesfully added a new change with this string: %s.",inputtext);
SendClientMessage(playerid, COLOR_RED, string);
}
return 1;
}
Reply
#5

Please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)