Search results

Jump to navigation Jump to search
Caution icon
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 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 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 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
  • * ''string'' '''gamemodetext''' - The game mode name to be set <source lang=squirrel> ...
    752 bytes (85 words) - 21:48, 30 January 2017
  • <source lang=squirrel> == Related Functions == ...
    1 KB (142 words) - 18:04, 30 January 2017
  • ...ple: To move FORWARD we usually use "W" or "UP_ARROW" key. But since its a game key & its ID is "32768". * [[Scripting/Squirrel/Functions#Player_Functions|''Player'']] '''player''' - The player who changes the key ...
    3 KB (413 words) - 22:17, 30 January 2017
  • This function will set the weather of the game. == Related Functions == ...
    1 KB (110 words) - 08:26, 9 March 2017
  • ! class="mp-content-header mp-title-gradient" | Game Text Codes and Styles Here is a full list of all available game text codes and styles that are usable. ...
    3 KB (340 words) - 23:10, 22 January 2017
  • <source lang=squirrel>InPoly(testX, testY, x1, y1, x2, y2, x3, y3, ...)</source> <source lang=squirrel>InPoly(testX, testY, [x1, y1, x2, y2, x3, y3, ...])</source> ...
    3 KB (363 words) - 16:12, 23 April 2016
  • * Increased the game's vehicle pool size from 500 to 1000 to match the server's * Fixed game crashing when forced to spectate someone who isn't spawned ...
    23 KB (3,482 words) - 20:27, 20 February 2017