22.09.2014, 01:17
Hello, Every One Why its not working
Unknow Command
PHP код:
CMD:SaveStats(playerid, params[])
{
SendClientMessage(playerid,COLOR_GREEN,"Successful Saved");
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
INI_WriteInt(File,"Score",GetPlayerScore(playerid));
INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
INI_WriteInt(File,"Wanted",GetPlayerWantedLevel(playerid));
INI_Close(File);
return 1;
}