11.12.2012, 16:17
Код:
/////////////////////////////* Adding your own *///////////////////////////////
/*
public YOUROWNCALLBACK() //Change to a Callback of your choice
{
new file[128], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(file, sizeof(file), "/UserAchievements/%s.ini", pname);
if(dini_Int(file, "NAMEOFDATA") == 1) //Change NAMEOFDATA to a data type of your choice
{
//Do nothing
}
else if(dini_Int(file, "NAMEOFDATA") == 0) //Change NAMEOFDATA to a data type of your choice
{
ShowAchievement();
dini_IntSet(file, "NAMEOFDATA", 1); //Change NAMEOFDATA to a data type of your choice
SendClientMessage(playerid, COLOR_GREEN, "Achievement Get! WHAT EVER YOU WANT");
}
return 1;
}
*/
"NAMEOFDATA" ----------- How to make when player gets 100 score ?
Please tell me

