Squirrel Standard Library Functions: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 11: Line 11:
|}</big>
|}</big>


The squirrel's clock() function which returns number of seconds elapsed since system was started is [[https://sourceforge.net/p/squirrel/bugs/7/ |bugged] on linux systems. You can use [[GetTickCount]] instead.
The squirrel's clock() function which returns number of seconds elapsed since system was started is [[https://sourceforge.net/p/squirrel/bugs/7/ bugged]] on linux systems. You can use [[GetTickCount]] instead.

Latest revision as of 04:24, 5 December 2022

In the npcscripts, the following standard [libraries] of Squirrel are included.

  • Input Output Library
  • System Library
  • Math Library
  • String Library
  • Blob Library

The squirrel's clock() function which returns number of seconds elapsed since system was started is [bugged] on linux systems. You can use GetTickCount instead.