Search results
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
- <pre>function onPlayerCommand( player, cmd, text ) { player.RemoveMarker(); ...415 bytes (44 words) - 18:50, 30 January 2017
- {{Scripting/Deprecated}} {{Scripting/Noop}} ...179 bytes (17 words) - 18:56, 30 January 2017
- <pre>int player.Slot</pre> Sets or Returns player's weapon slot. ...522 bytes (59 words) - 13:51, 12 December 2018
- This event is called every time a player crashes. <pre>function onPlayerCrashDump( player, CrashReport )</pre> ...714 bytes (82 words) - 22:16, 30 January 2017
- This function bans any specified player. <pre>BanPlayer( player )</pre> ...961 bytes (96 words) - 18:41, 30 January 2017
- {{Scripting/Needs_Text}} <pre>player.ID</pre> ...379 bytes (41 words) - 18:49, 30 January 2017
- <source lang=squirrel> function onPlayerCommand( player, cmd, text ) ...667 bytes (74 words) - 22:04, 30 January 2017
- == Administrative Functions == {{Scripting/Squirrel/Functions/Administrative Functions}} ...2 KB (169 words) - 20:40, 22 June 2019
- <pre>float player.Angle</pre> <pre>function onPlayerCommand( player, cmd, text ) ...367 bytes (37 words) - 18:46, 30 January 2017
- {{Scripting/Needs_Text}} <pre>player.SetCameraPos( Vector pos, Vector look );</pre> ...262 bytes (28 words) - 18:56, 30 January 2017
- {{Scripting/Needs_Text}} <pre>player.Class</pre> ...561 bytes (64 words) - 18:47, 30 January 2017
- <pre>player.Eject()</pre> <source lang=squirrel> ...726 bytes (74 words) - 18:47, 30 January 2017
- <pre>Player.Widescreen = false; Player.Widescreen = true;</pre> ...212 bytes (22 words) - 18:58, 30 January 2017
- <pre>Player.WhiteScanlines = false; Player.WhiteScanlines = true;</pre> ...220 bytes (22 words) - 18:58, 30 January 2017
- This is called when a player joins the server. This is fired ''after'' data has been sent to the client. <pre>function onPlayerJoin( player )</pre> ...740 bytes (92 words) - 22:18, 30 January 2017
- Called when a player changes his name. <pre>function OnPlayerNameChange( player, oldName, newName )</pre> ...893 bytes (111 words) - 22:16, 30 January 2017
- This function will kick Player defined. <pre>player.Kick();</pre> ...763 bytes (89 words) - 18:50, 30 January 2017
- local veh = player.Vehicle; MessagePlayer( "** Your vehicle world is " + veh.World, player ); ...361 bytes (45 words) - 22:05, 30 January 2017
- ...r.Vehicle ) MessagePlayer("You must be in a vehicle to use this command.", player ); local veh = player.Vehicle; ...426 bytes (52 words) - 07:53, 26 April 2019
- This function returns the action of any player as integer. <pre>Player.Action</pre> ...790 bytes (91 words) - 18:45, 30 January 2017
- <source lang=squirrel> function onPickupPickedUp( player, pickup ) ...614 bytes (74 words) - 18:37, 30 January 2017
- <pre>player.State (The player's current state as an integer)</pre> function onPlayerCommand( player, cmd, text ) ...900 bytes (112 words) - 18:57, 30 January 2017
- <pre>player.World;</pre> ...player.World is a function which be used to determine to what world is the player belonging to.</pre> ...461 bytes (57 words) - 18:58, 30 January 2017
- This function will get the wanted level of the player <pre>integer player.WantedLevel;</pre> ...611 bytes (74 words) - 18:58, 30 January 2017
- This Function Plays Sound for any specific player. '''PlaySoundForPlayer(player, soundID)''' ...492 bytes (52 words) - 18:45, 30 January 2017
- This function will disarm the player <pre>player.Disarm();</pre> ...405 bytes (44 words) - 18:47, 30 January 2017
- This is called when a player uses a command. <pre>function onPlayerCommand( player, cmd, parameters )</pre> ...1 KB (141 words) - 19:28, 4 August 2017
- *'''Returns player's current Vehicle Status, as integer.''' <pre>player.VehicleStatus</pre> ...758 bytes (85 words) - 12:45, 12 December 2018
- This function will send a simple message to everyone but the player specified. <pre>MessageAllExcept(message, player)</pre> ...872 bytes (112 words) - 18:18, 30 January 2017
- This variable is a getter/setter of the player's cash. <pre>player.Cash</pre> ...802 bytes (96 words) - 18:47, 30 January 2017
- <pre>player.ShowMarkers = bool</pre> *'''player''': player instance ...697 bytes (81 words) - 14:08, 12 December 2018
- <pre>function onPlayerRequestSpawn( player )</pre> .../Functions#Player_Functions|''Player'']] '''player''' - The Pointer of the player. ...966 bytes (110 words) - 22:14, 30 January 2017
- This function will send a big message on the screen to a player. ...ipting/Squirrel/Functions#Player Functions|Player]]'' '''playerTo''' - The player to send the message to ...765 bytes (103 words) - 18:19, 30 January 2017
- <pre>local ID = player.Vehicle.ID;</pre> function onPlayerEnterVehicle( player, vehicle, door ) ...590 bytes (67 words) - 22:03, 30 January 2017
- *'''Sends a player to the Selecting Room ( aka Request Class )''' <pre>player.Select();</pre> ...682 bytes (81 words) - 12:54, 12 December 2018
- This is called when a player exits any checkpoint <pre>function onCheckpointExited( player, checkpoint )</pre> ...794 bytes (92 words) - 22:11, 30 January 2017
- this function allows you to send a private Message ( PM ) to a player. <pre>function onPlayerPM( player, playerTo, text )</pre> ...1 KB (131 words) - 22:15, 30 January 2017
- This function will send a simple message to the player specified. <pre>MessagePlayer(message, player)</pre> ...815 bytes (104 words) - 18:19, 30 January 2017
- This function will send a private message to the player specified. <pre>PrivMessage(player, message)</pre> ...813 bytes (105 words) - 18:19, 30 January 2017
- This function will show the FPS(Frames Per Second) of the player <pre>player.FPS();</pre> ...418 bytes (49 words) - 18:48, 30 January 2017
- This function is called whenever a player enters any checkpoint. function onCheckpointEntered( player, checkpoint ); ...930 bytes (108 words) - 22:11, 30 January 2017
- Retrieve a player object from player's name or ID. * ''string/integer'' '''identity''' - The player's name or ID. ...915 bytes (101 words) - 18:45, 30 January 2017
- This event is called when the player touches a object! <pre>onObjectBump(object,player)</pre> ...400 bytes (48 words) - 13:32, 7 May 2019
- This event is called every time a player kills another (and they're not in the same team). <pre>function onPlayerKill( killer, player, reason, bodypart )</pre> ...1,021 bytes (121 words) - 20:43, 22 June 2019
- <source lang=squirrel> function onPlayerCommand(player, cmd, text) { ...902 bytes (89 words) - 10:45, 26 April 2019
- * ''string'' '''name''' - Player Name The Following example will tell a player's ID. ...1 KB (164 words) - 18:44, 30 January 2017
- <source lang=squirrel> function onPlayerCommand( player, cmd, text ) ...536 bytes (59 words) - 21:54, 30 January 2017
- This function Returns if the Player Is On Fire or Not. <pre>player.IsOnFire</pre> ...529 bytes (61 words) - 18:49, 30 January 2017
- This function will show AFK( Away From Keboard ) player. <pre>player.Away</pre> ...673 bytes (74 words) - 18:46, 30 January 2017
- This function is used to set white scan lines for a specific player. <pre>SetWhiteScanLines( player, true ); ...842 bytes (101 words) - 19:48, 4 August 2017