12.02.2011, 19:06
pawn Код:
new read[11], filename[56], string[55];
format(filename, sizeof(filename),"Players/%s.ini", name);
fopen(filename, io_read);
fread(filename, string);
new read[11], filename[56], string[55];
format(filename, sizeof(filename),"Players/%s.ini", name);
fopen(filename, io_read);
fread(filename, string);
new read[11], filename[56], string[55];
format(filename, sizeof(filename),"Players/%s.ini", name);
new File:file = fopen(filename, io_read);
fread(file, string);
new filename[55], string[250];
format(filename, sizeof(filename),"Players/%s.ini", name);
new File:user = fopen(filename, io_write); // Open the file
fopen(user, io_write);
format(string, sizeof(string),"%s %s 0 0 0 299 0 0 0 255 1 0",name, inputtext);
fwrite(user, string);
fclose(user);
C:\Users\Administrator\Documents\SAMP 0.3b\gamemodes\WSRPG.pwn(1078) : error 033: array must be indexed (variable "inputtext")
if(inputtext == read[1])
if(read[1] == strval(inputtext))