XADRENALINEIX

Buffeting's Individual Achievement Unlocker

May 20th, 2013
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. void print(char *text)
  2. {
  3. PRINT_STRING_WITH_LITERAL_STRING_NOW("string", text, 5000, 1);
  4. }
  5.  
  6. void unlock_achievement(uint achievement){
  7. if(!HAS_ACHIEVEMENT_BEEN_PASSED(achievement)){
  8. AWARD_ACHIEVEMENT(achievement);
  9. print("Achievement unlocked");
  10. }
  11. else print("You already have this Achievement");
  12. }
Advertisement
Add Comment
Please, Sign In to add comment