08.01.2011, 01:19
Код:
//changepass if(!strcmp(strget(cmdtext,0),"/changepass")) { if(!strlen(strget(cmdtext,1))) return SendClientMessage(playerid,COLOR_GREY,"Use: /changepass [Password]"); new name[MAX_PLAYER_NAME]; new accFormat[128]; new pass = strval(strget(cmdtext,1)); new string[128]; GetPlayerName(playerid,name,sizeof(name)); format(accFormat,sizeof(accFormat),"/Players/%s.datei",name); format(string,sizeof(string),"%s",pass); dini_IntSet(accFormat,"Passwort",string); return 1; }
Код:
BJ.pwn(8656) : error 035: argument type mismatch (argument 3)
Код:
dini_IntSet(accFormat,"Passwort",string);