11.12.2012, 16:52
Look An Example
There was changed NAMEOFDATA
Quote:
new file[128], pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname)); format(file, sizeof(file), "/UserAchievements/%s.ini", pname); if(dini_Int(file, "vehicle") == 1) { return 1; } else if(dini_Int(file, "vehicle") == 0) { ShowAchievement(); dini_IntSet(file, "vehicle", 1); SendClientMessage(playerid, COLOR_GREEN, "Achievement Get! You got in a vehicle for the first time."); return 1; } |