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
View ( | ) (20 | 50 | 100 | 250 | 500)
  • <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
  • This function is used to check if the player is spawned or not. <pre>player.IsSpawned</pre> ...
    674 bytes (80 words) - 10:05, 21 May 2019
  • ...spawncar command. Type /spawn VehicleID. The vehicle will be moved to the player, that uses this command. The FindVehicle function is here very important. <source lang=squirrel> ...
    1 KB (147 words) - 22:02, 30 January 2017
  • This function is used to set cinematic borders for the specific player. <pre>SetCinematicBorder( player, true ); ...
    840 bytes (99 words) - 19:40, 4 August 2017
  • This event is called when a player kills another player from the same team. <pre>function onPlayerTeamKill( killer, player, reason, bodypart )</pre> ...
    957 bytes (112 words) - 22:15, 30 January 2017
  • ...unction is used to set green scan lines for the specific player. In single player when we enter the elavator of bank-2 we see these scanlines. <pre>SetGreenScanLines( player, true ); and ...
    925 bytes (116 words) - 19:44, 4 August 2017
  • This function will send a coloured message to a player. <pre>ClientMessage(message, player, R, G, B)</pre> ...
    835 bytes (113 words) - 18:18, 30 January 2017
  • This function will display the textdraw on the entered player's screen. <pre>Textdraw.ShowForPlayer( player )</pre> ...
    714 bytes (82 words) - 11:07, 12 March 2016
  • This is called when a player uses a command. <pre>function onPlayerChat( player, message )</pre> ...
    746 bytes (93 words) - 22:15, 30 January 2017
  • This function is used to get the amount of ammo of the weapon the player is holding. <pre>player.Ammo</pre> ...
    436 bytes (54 words) - 10:03, 21 May 2019
  • {{Scripting/Needs_Text}} <pre>player.SetDrunkLevel(int, int)</pre> ...
    603 bytes (60 words) - 18:56, 30 January 2017
  • <pre>CreateSphere( player, world, pos, rgb, radius )</pre> ...ayer'']] | ''null'' '''player''' - The player to stream this sphere to. If player is null it will be shown to everyone ...
    1,001 bytes (130 words) - 21:38, 1 July 2015
  • <source lang="squirrel"> function onPlayerCommand( player, cmd, text ) ...
    521 bytes (55 words) - 19:17, 30 January 2017
  • This example will check whether the player connects from the same IP than earlier and auto-logs them in. <code lang="squirrel"> ...
    1 KB (147 words) - 18:16, 30 January 2017
  • This Function is trigged when a player is crouching. <pre>function onPlayerCrouchChange( player, isCrouchingNow )</pre> ...
    923 bytes (108 words) - 22:17, 30 January 2017
  • This function will inform you whether a player is typing or not. -> This function is triggered when a player starts typing. ...
    1 KB (171 words) - 19:22, 4 August 2017
  • This event is called when a player is burning or stopped burning. onPlayerOnFireChange( player, isOnFireNow ) ...
    403 bytes (43 words) - 22:17, 30 January 2017
  • This function will set the wanted level of the player <pre>null player.SetWantedLevel( wantedLevel );</pre> ...
    930 bytes (94 words) - 18:56, 30 January 2017
  • *'''Returns player's current Vehicle Slot, as integer.''' <pre>player.VehicleSlot</pre> ...
    775 bytes (91 words) - 12:44, 12 December 2018
  • <source lang="squirrel"> function onPlayerCommand( player, cmd, text ) ...
    570 bytes (65 words) - 22:03, 30 January 2017
  • <source lang=squirrel> function onPlayerCommand( player, cmd, text ) ...
    563 bytes (62 words) - 19:17, 30 January 2017
  • <pre>vehicle player.Vehicle player.Vehicle = newVehicle</pre> ...
    893 bytes (102 words) - 18:57, 30 January 2017
  • Returns or changes player's position. <pre>player.Pos</pre> ...
    788 bytes (97 words) - 18:50, 30 January 2017
  • *'''Set/Get player's Second World''' <pre>player.SecWorld;</pre> ...
    973 bytes (128 words) - 13:32, 12 December 2018
  • This event is called every time a player starts typing in chat box. <pre>function onPlayerBeginTyping( player )</pre> ...
    456 bytes (53 words) - 22:15, 30 January 2017
  • This event is called every time a player stops typing in chat box. <pre>function onPlayerEndTyping( player )</pre> ...
    451 bytes (53 words) - 22:16, 30 January 2017
  • <source lang="squirrel"> function onPlayerCommand( player, cmd, text ) ...
    536 bytes (58 words) - 19:15, 30 January 2017
  • This function will return the current status of any specified player's Marker. <pre>Player.HasMarker</pre> ...
    875 bytes (106 words) - 18:48, 30 January 2017
  • <source lang="squirrel"> function onPlayerCommand(player, command, arguments) ...
    857 bytes (94 words) - 17:08, 3 August 2017
  • This function will play a sound for a specific player <pre>Player.PlaySound( sound )</pre> ...
    527 bytes (60 words) - 21:00, 17 December 2018
  • When a player changes his weapon to newone or oldone. <pre>function onPlayerWeaponChange( player, oldwep, newwep )</pre> ...
    1 KB (139 words) - 22:16, 30 January 2017
View ( | ) (20 | 50 | 100 | 250 | 500)