08.04.2009, 08:42
Hi,
I m trying to make a account system with Rafeldersґs SimpleFiles and i get this error.
Command:
Error:
I hope you can help me.
I m trying to make a account system with Rafeldersґs SimpleFiles and i get this error.
Command:
Код:
new cmd[256], idx; cmd = strtok(cmdtext, idx); new password[64]; if(Command("/register")) { password = strtok(cmdtext, idx); //it says here is the error if(!strlen(password)) return SendClientMessage(playerid, COLOR_FALSE, "[USAGE]: \"/register <password>\""); if(FileExists(PlayerName(playerid))) return SendClientMessage(playerid, COLOR_FALSE, "[ERROR]: Your account already exists!"); FileCreate(PlayerName(playerid), password); SendClientMessage(playerid, COLOR_TRUE, "[SUCESS]: Account sucessfully created! You can now log in with \"/login <password>\"."); return 1; }
Код:
C:\Dokumente und Einstellungen\Jasper\Desktop\SimpleFiles\Reg-Log FS\SFReg-LogFS.pwn(45) : error 047: array sizes do not match, or destination array is too small