Search results
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
- == Administrative Functions == {{Scripting/Squirrel/Functions/Administrative Functions}} ...2 KB (169 words) - 20:40, 22 June 2019
- This function will get the game mode text shown in the client browser. * ''string'' '''gamemodetext''' - The game mode text ...685 bytes (84 words) - 19:09, 30 January 2017
- This function will get the speed of the game. * ''int'' '''gamespeed''' - The speed of the game (default is 1) ...669 bytes (82 words) - 19:12, 30 January 2017
- This function will get the timerate of the game. * ''int'' '''timerate''' - The timerate of the game ...492 bytes (56 words) - 17:28, 26 April 2019
- This function will set the game hour. * ''int'' '''hour''' - The hour of the game (from 00 to 23) ...635 bytes (77 words) - 08:45, 26 April 2019
- This function sets the game minutes. * ''int'' '''minute''' - The minute of the game (from 00 to 59) ...651 bytes (76 words) - 08:41, 26 April 2019
- This function will set the timerate of the game. * ''int'' '''timerate''' - The timerate of the game ...372 bytes (42 words) - 21:50, 30 January 2017
- This function will get the water level of the game. * ''int'' '''waterlevel''' - The water level of the game (default is 6) ...781 bytes (95 words) - 19:16, 30 January 2017
- This function will get the gravity of the game. * ''float'' '''gravity''' - The gravity of the game (default is 0.008) ...672 bytes (81 words) - 19:12, 30 January 2017
- This function will get the hour of the game. * ''int'' '''hour''' - The hour of the game (from 00 to 23) ...645 bytes (81 words) - 19:12, 30 January 2017
- This function will set the speed of the game. * ''float'' '''speed''' - The speed of the game (default is 1) ...663 bytes (74 words) - 21:48, 30 January 2017
- This function will set the gravity of the game. * ''float'' '''gravity''' - The gravity of the game (default is 0.008) ...675 bytes (78 words) - 08:37, 26 April 2019
- This function will get the minute of the game. * ''int'' '''minute''' - The minute of the game (from 00 to 59) ...620 bytes (75 words) - 19:13, 30 January 2017
- This function will set the vehicles forced respawn height in the game. {{Scripting/Needs_Example}} ...397 bytes (42 words) - 21:53, 30 January 2017
- This function will set the water level of the game. * ''float'' '''waterlevel'''' - The water level of the game (default is 6) ...699 bytes (82 words) - 08:30, 26 April 2019
- ...ple will save player's cash to a file 'PlayerCash.ini' when they leave the game. <code lang="squirrel"> ...1 KB (165 words) - 18:16, 30 January 2017
- <source lang=squirrel> == Related Functions == ...760 bytes (85 words) - 17:19, 25 September 2017
- This function will get the weather ID of the game. * ''int'' '''weatherid''' - The weather ID of the game ...1 KB (121 words) - 08:26, 9 March 2017
- This function will set the game minute. * ''int'' '''hour''' - The hour of the game (from 00 to 23) ...833 bytes (98 words) - 21:50, 30 January 2017
- * ''integer'' '''nModelId''' - The ModelID of object you want to hide from game {{Scripting/Needs_Example}} ...496 bytes (65 words) - 18:32, 30 January 2017