Squirrel Standard Library Functions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
|}</big> | |}</big> | ||
For example, if the user wants to get the number of seconds elapsed since the start of system, they can use clock() function (see System Library of squirrel manual) which returns the same as a float value. | For example, if the user wants to get the number of seconds ('''not milliseconds''') elapsed since the start of system, they can use clock() function (see System Library of squirrel manual) which returns the same as a float value. |
Revision as of 05:40, 21 November 2022
In the npcscripts, the following standard [libraries] of Squirrel are included.
|
For example, if the user wants to get the number of seconds (not milliseconds) elapsed since the start of system, they can use clock() function (see System Library of squirrel manual) which returns the same as a float value.