diff -r 64b95a681971 -r 971427650f1f LuaAPI.wiki --- a/LuaAPI.wiki Tue Feb 20 13:54:13 2018 +0000 +++ b/LuaAPI.wiki Tue Feb 20 13:55:00 2018 +0000 @@ -385,7 +385,7 @@ This function is used in Racer and !TechRacer to define waypoints. === `onAchievementsDeclaration()` === -This function is called after the stats have been built. You are supposed to call `DeclareAchivement` here. +This function is called after the stats have been built. You are supposed to call `DeclareAchievement` here. == Functions for creating gears == @@ -1430,7 +1430,7 @@ === `StartGhostPoints(count)` === Just prints out “GHOST_POINTS” and the argument on the console. This function might change in later versions. -=== `DeclareAchivement(id, teamname, location, value)` === +=== `DeclareAchievement(id, teamname, location, value)` === Declares an achievement with the identifier `id` achieved by the team `teamname` on the map `location` with an achievement value (e.g. score) of `value`. `value` must be an integer. You are supposed to call this function inside an `onAchievementsDeclaration` callback. Currently, this actually just triggers a console output, but it might be changed later. The idea is to track multiplayer records.