24.10.2012, 12:26
pawn Код:
error 017: undefined symbol "INI_Remove"
pawn Код:
INI_Remove(File);
error 017: undefined symbol "INI_Remove"
INI_Remove(File);
new string[128];
format(string, sizeof(string), "Users/%s.ini",name);
fremove(string);
Use it like this:
PHP код:
|
if (strcmp("/ChangeNick", cmdtext, true, 10) == 0)
{
if(GetPlayerMoney(playerid) < 30000) return SendClientMessage(playerid,0xff0000ff,"айп бйгк осфйч лсу блгй мщреъ лйрей");
ShowPlayerDialog(playerid, DIALOG_CHANGE, DIALOG_STYLE_INPUT, "Change Nick", "длрс аъ длйрей щбшцерк мщреъ амйе", "щрд", "бйием");
return 1;
}
if(dialogid == DIALOG_CHANGE)
{
if(!response)
{
ShowPlayerDialog(playerid, DIALOG_SURE, DIALOG_STYLE_MSGBOX, "? аъд биез", "? аъд биез щаъд ма шецд мщреъ щн", "шецд", "ма шецд");
}
else
{
PlayerInfo[playerid][pPass] = DOF2_GetInt(UserPath(playerid), "Password");
PlayerInfo[playerid][pKills] = DOF2_GetInt(UserPath(playerid), "Kills");
PlayerInfo[playerid][pDeaths] = DOF2_GetInt(UserPath(playerid), "Deaths");
DOF2_RemoveFile(UserPath(playerid));
DOF2_CreateFile(inputtext);
DOF2_SetInt(UserPath(playerid), "Password", PlayerInfo[playerid][pPass]);
DOF2_SetInt(UserPath(playerid),"Kills",PlayerInfo[playerid][pKills]);
DOF2_SetInt(UserPath(playerid),"Deaths",PlayerInfo[playerid][pDeaths]);
format(string,sizeof(string),"%s :щрйъ аъ щок бдцмзд мщн\nара цмн оск жд блгй ма мщлез аъ щок дзгщ\nца одщшъ езжеш ан дщн дзгщ",inputtext);
ShowPlayerDialog(playerid, DIALOG_NAME, DIALOG_STYLE_MSGBOX, "дщн щмк щерд бдцмзд", string, "айщеш", "");
GivePlayerMoney(playerid, Money);
Kick(playerid);
}
return 1;
}