Search results
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
- {{Scripting/Needs_Text}} <source lang=squirrel> ...508 bytes (57 words) - 18:57, 30 January 2017
- This instance variable returns player's IP address. <pre>string player.IP</pre> ...708 bytes (82 words) - 18:49, 30 January 2017
- This instance variable returns or sets player's score. player.Score = value</pre> ...675 bytes (75 words) - 12:39, 11 April 2017
- <pre>player.Spawn();</pre> The following example spawns a specified player. ...559 bytes (58 words) - 18:57, 30 January 2017
- <pre>int player.Weapon</pre> This command gives player the name of the weapon they are using when they type '/mywep'. ...476 bytes (55 words) - 18:58, 30 January 2017
- <pre>bool Player.CameraLocked</pre> '''> Player''' - The player instance to lock camera for. ...405 bytes (47 words) - 18:46, 30 January 2017
- <pre>function onPlayerCommand( player, cmd, text ) ...if ( !plr ) MessagePlayer( "Error: Player '" + text + "' is not online.", player ); ...445 bytes (44 words) - 18:57, 30 January 2017
- This will return a special world ID for a player <pre>Player.UniqueWorld</pre> ...419 bytes (46 words) - 17:20, 25 September 2017
- {{Scripting/Needs_Text}} <pre>player.SetAnim( animGroupID, animID )</pre> ...390 bytes (40 words) - 18:56, 30 January 2017
- <pre>function onPlayerEnterVehicle( player, vehicle ) ...gePlayer( "You are entering: " + GetVehicleNameFromModel( vehicle.Model ), player ); ...351 bytes (34 words) - 22:04, 30 January 2017
- <pre>player.Armour</pre> <source lang=squirrel> ...452 bytes (49 words) - 18:47, 30 January 2017
- <pre>player.PutInVehicleSlot( ID, slotID );</pre> == Related Functions == ...197 bytes (20 words) - 18:58, 30 January 2017
- Gets or sets player name. <pre>player.Name = string</pre> ...412 bytes (45 words) - 10:55, 18 November 2017
- {{Scripting/Needs_Text}} This function will get a player's key in server ...437 bytes (50 words) - 18:50, 30 January 2017
- This will return player Unique ID. <pre>string player.UniqueID2</pre> ...574 bytes (64 words) - 18:57, 30 January 2017
- This will return player Unique ID. <pre>string player.UniqueID</pre> ...572 bytes (64 words) - 18:57, 30 January 2017
- read - player.Speed set - player.Speed = Vector( x, y, z ) ...449 bytes (52 words) - 14:25, 12 December 2018
- This function will send a fake private message from one player to another. ...ng/Squirrel/Functions#Player Functions|Player]]'' '''playerToFake''' - The player to send the message as ...942 bytes (121 words) - 18:19, 30 January 2017
- This is called when a player spawns. <pre>function onPlayerSpawn( player )</pre> ...780 bytes (96 words) - 22:15, 30 January 2017
- Use this function to get a player's ping. '''(Read only)''' <pre>int player.Ping ...595 bytes (71 words) - 18:50, 30 January 2017