equal
deleted
inserted
replaced
1288 Example: |
1288 Example: |
1289 <code language="lua"> |
1289 <code language="lua"> |
1290 HedgewarsScriptLoad("/Scripts/Locale.lua") -- loads locale library |
1290 HedgewarsScriptLoad("/Scripts/Locale.lua") -- loads locale library |
1291 </code> |
1291 </code> |
1292 |
1292 |
1293 === <tt>!GetDataPath()</tt> === |
|
1294 Returns the path to the data directory, used when adding libraries. |
|
1295 |
|
1296 === <tt>!GetUserDataPath()</tt> === |
|
1297 Returns the path to the user data directory, used when adding libraries. |
|
1298 |
|
1299 |
|
1300 |
|
1301 |
|
1302 |
|
1303 == Stats functions == |
1293 == Stats functions == |
1304 === <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> (0.9.20) === |
1294 === <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> (0.9.20) === |
1305 |
1295 |
1306 This function allows to change the details of the stats screen seen after the end of a game. |
1296 This function allows to change the details of the stats screen seen after the end of a game. |
1307 |
1297 |