Template:Scripting/Squirrel/Functions/Player Functions: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "* FindPlayer * GetPlayerIDFromName * Scripting/Squirrel/Functions/IsWorldCom...") |
mNo edit summary |
||
(15 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
* [[Scripting/Squirrel/Functions/BanPlayer|BanPlayer]] | |||
* [[Scripting/Squirrel/Functions/FindPlayer|FindPlayer]] | * [[Scripting/Squirrel/Functions/FindPlayer|FindPlayer]] | ||
* [[Scripting/Squirrel/Functions/GetPlayerIDFromName|GetPlayerIDFromName]] | * [[Scripting/Squirrel/Functions/GetPlayerIDFromName|GetPlayerIDFromName]] | ||
* [[Scripting/Squirrel/Functions/IsWorldCompatibleWithPlayer|IsWorldCompatibleWithPlayer]] | * [[Scripting/Squirrel/Functions/IsWorldCompatibleWithPlayer|IsWorldCompatibleWithPlayer]] | ||
* [[Scripting/Squirrel/Functions/KickPlayer|KickPlayer]] | * [[Scripting/Squirrel/Functions/KickPlayer|KickPlayer]] | ||
* [[Scripting/Squirrel/Functions/ | * [[Scripting/Squirrel/Functions/PlaySoundForPlayer|PlaySoundForPlayer]] | ||
* [[Scripting/Squirrel/Functions/Player.Action|Player.Action]] | |||
* [[Scripting/Squirrel/Functions/Player.AddSpeed|Player.AddSpeed]] | * [[Scripting/Squirrel/Functions/Player.AddSpeed|Player.AddSpeed]] | ||
* [[Scripting/Squirrel/Functions/Player.Admin|Player.Admin]] | * [[Scripting/Squirrel/Functions/Player.Admin|Player.Admin]] | ||
* [[Scripting/Squirrel/Functions/Player.AimDir|Player.AimDir]] | |||
* [[Scripting/Squirrel/Functions/Player.AimPos|Player.AimPos]] | |||
* [[Scripting/Squirrel/Functions/Player.Alpha|Player.Alpha]] | * [[Scripting/Squirrel/Functions/Player.Alpha|Player.Alpha]] | ||
* [[Scripting/Squirrel/Functions/Player.Ammo|Player.Ammo]] | * [[Scripting/Squirrel/Functions/Player.Ammo|Player.Ammo]] | ||
* [[Scripting/Squirrel/Functions/Player.Angle|Player.Angle]] | * [[Scripting/Squirrel/Functions/Player.Angle|Player.Angle]] | ||
* [[Scripting/Squirrel/Functions/Player.Armour|Player.Armour]] | * [[Scripting/Squirrel/Functions/Player.Armour|Player.Armour]] | ||
* [[Scripting/Squirrel/Functions/Player.Away|Player.Away]] | |||
* [[Scripting/Squirrel/Functions/Player.Ban|Player.Ban]] | * [[Scripting/Squirrel/Functions/Player.Ban|Player.Ban]] | ||
* [[Scripting/Squirrel/Functions/Player.CameraLocked|Player.CameraLocked]] | * [[Scripting/Squirrel/Functions/Player.CameraLocked|Player.CameraLocked]] | ||
Line 21: | Line 24: | ||
* [[Scripting/Squirrel/Functions/Player.Disarm|Player.Disarm]] | * [[Scripting/Squirrel/Functions/Player.Disarm|Player.Disarm]] | ||
* [[Scripting/Squirrel/Functions/Player.Eject|Player.Eject]] | * [[Scripting/Squirrel/Functions/Player.Eject|Player.Eject]] | ||
* [[Scripting/Squirrel/Functions/Player.FPS|Player.FPS]] | |||
* [[Scripting/Squirrel/Functions/Player.Frozen|Player.Frozen]] | * [[Scripting/Squirrel/Functions/Player.Frozen|Player.Frozen]] | ||
* [[Scripting/Squirrel/Functions/Player.GameKeys|Player.GameKeys]] | |||
* [[Scripting/Squirrel/Functions/Player.GetAmmoAtSlot|Player.GetAmmoAtSlot]] | * [[Scripting/Squirrel/Functions/Player.GetAmmoAtSlot|Player.GetAmmoAtSlot]] | ||
* [[Scripting/Squirrel/Functions/Player.GetWeaponAtSlot|Player.GetWeaponAtSlot]] | * [[Scripting/Squirrel/Functions/Player.GetWeaponAtSlot|Player.GetWeaponAtSlot]] | ||
Line 27: | Line 32: | ||
* [[Scripting/Squirrel/Functions/Player.GiveWeapon|Player.GiveWeapon]] | * [[Scripting/Squirrel/Functions/Player.GiveWeapon|Player.GiveWeapon]] | ||
* [[Scripting/Squirrel/Functions/Player.GreenScanlines|Player.GreenScanlines]] | * [[Scripting/Squirrel/Functions/Player.GreenScanlines|Player.GreenScanlines]] | ||
* [[Scripting/Squirrel/Functions/Player.HasChatTags|Player.HasChatTags]] | |||
* [[Scripting/Squirrel/Functions/Player.HasMarker|Player.HasMarker]] | |||
* [[Scripting/Squirrel/Functions/Player.Health|Player.Health]] | * [[Scripting/Squirrel/Functions/Player.Health|Player.Health]] | ||
* [[Scripting/Squirrel/Functions/Player.ID|Player.ID]] | * [[Scripting/Squirrel/Functions/Player.ID|Player.ID]] | ||
* [[Scripting/Squirrel/Functions/Player.Immunity|Player.Immunity]] | * [[Scripting/Squirrel/Functions/Player.Immunity|Player.Immunity]] | ||
* [[Scripting/Squirrel/Functions/Player.IP|Player.IP]] | * [[Scripting/Squirrel/Functions/Player.IP|Player.IP]] | ||
* [[Scripting/Squirrel/Functions/Player.IsCrouching|Player.IsCrouching]] | |||
* [[Scripting/Squirrel/Functions/Player.IsDrunk|Player.IsDrunk]] | |||
* [[Scripting/Squirrel/Functions/Player.IsOnFire|Player.IsOnFire]] | |||
* [[Scripting/Squirrel/Functions/Player.IsOnRadar|Player.IsOnRadar]] | * [[Scripting/Squirrel/Functions/Player.IsOnRadar|Player.IsOnRadar]] | ||
* [[Scripting/Squirrel/Functions/Player.IsSpawned|Player.IsSpawned]] | * [[Scripting/Squirrel/Functions/Player.IsSpawned|Player.IsSpawned]] | ||
Line 37: | Line 47: | ||
* [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] | * [[Scripting/Squirrel/Functions/Player.Name|Player.Name]] | ||
* [[Scripting/Squirrel/Functions/Player.Ping|Player.Ping]] | * [[Scripting/Squirrel/Functions/Player.Ping|Player.Ping]] | ||
* [[Scripting/Squirrel/Functions/Player.PlaySound|Player.PlaySound]] | |||
* [[Scripting/Squirrel/Functions/Player.Pos|Player.Pos]] | * [[Scripting/Squirrel/Functions/Player.Pos|Player.Pos]] | ||
* [[Scripting/Squirrel/Functions/Player.Redirect|Player.Redirect]] | |||
* [[Scripting/Squirrel/Functions/Player.RestoreCamera|Player.RestoreCamera]] | * [[Scripting/Squirrel/Functions/Player.RestoreCamera|Player.RestoreCamera]] | ||
* [[Scripting/Squirrel/Functions/Player.RemoveMarker|Player.RemoveMarker]] | |||
* [[Scripting/Squirrel/Functions/Player.RemoveWeapon|Player.RemoveWeapon]] | * [[Scripting/Squirrel/Functions/Player.RemoveWeapon|Player.RemoveWeapon]] | ||
* [[Scripting/Squirrel/Functions/Player.Score|Player.Score]] | * [[Scripting/Squirrel/Functions/Player.Score|Player.Score]] | ||
* [[Scripting/Squirrel/Functions/Player.SecWorld|Player.SecWorld]] | * [[Scripting/Squirrel/Functions/Player.SecWorld|Player.SecWorld]] | ||
* [[Scripting/Squirrel/Functions/Player.Select|Player.Select]] | * [[Scripting/Squirrel/Functions/Player.Select()|Player.Select()]] | ||
* [[Scripting/Squirrel/Functions/Player.SetAlpha|Player.SetAlpha]] | * [[Scripting/Squirrel/Functions/Player.SetAlpha|Player.SetAlpha]] | ||
* [[Scripting/Squirrel/Functions/Player.SetAnim|Player.SetAnim]] | * [[Scripting/Squirrel/Functions/Player.SetAnim|Player.SetAnim]] | ||
* [[Scripting/Squirrel/Functions/Player.SetDrunkLevel|Player.SetDrunkLevel]] | |||
* [[Scripting/Squirrel/Functions/Player.SetCameraPos|Player.SetCameraPos]] | * [[Scripting/Squirrel/Functions/Player.SetCameraPos|Player.SetCameraPos]] | ||
* [[Scripting/Squirrel/Functions/Player.SetInterior|Player.SetInterior]] | * [[Scripting/Squirrel/Functions/Player.SetInterior|Player.SetInterior]] | ||
* [[Scripting/Squirrel/Functions/Player.SetMarker|Player.SetMarker - bugged]] | |||
* [[Scripting/Squirrel/Functions/Player.SetWantedLevel|Player.SetWantedLevel]] | * [[Scripting/Squirrel/Functions/Player.SetWantedLevel|Player.SetWantedLevel]] | ||
* [[Scripting/Squirrel/Functions/Player.SetWeapon|Player.SetWeapon]] | * [[Scripting/Squirrel/Functions/Player.SetWeapon|Player.SetWeapon]] | ||
Line 53: | Line 68: | ||
* [[Scripting/Squirrel/Functions/Player.Skin|Player.Skin]] | * [[Scripting/Squirrel/Functions/Player.Skin|Player.Skin]] | ||
* [[Scripting/Squirrel/Functions/Player.Spawn|Player.Spawn]] | * [[Scripting/Squirrel/Functions/Player.Spawn|Player.Spawn]] | ||
* [[Scripting/Squirrel/Functions/Player.SpectateTarget|Player.SpectateTarget]] | |||
* [[Scripting/Squirrel/Functions/Player.Speed|Player.Speed]] | |||
* [[Scripting/Squirrel/Functions/Player.StandingOnObject|Player.StandingOnObject]] | * [[Scripting/Squirrel/Functions/Player.StandingOnObject|Player.StandingOnObject]] | ||
* [[Scripting/Squirrel/Functions/Player.StandingOnVehicle|Player.StandingOnVehicle]] | * [[Scripting/Squirrel/Functions/Player.StandingOnVehicle|Player.StandingOnVehicle]] | ||
Line 59: | Line 76: | ||
* [[Scripting/Squirrel/Functions/Player.Typing|Player.Typing]] | * [[Scripting/Squirrel/Functions/Player.Typing|Player.Typing]] | ||
* [[Scripting/Squirrel/Functions/Player.Team|Player.Team]] | * [[Scripting/Squirrel/Functions/Player.Team|Player.Team]] | ||
* [[Scripting/Squirrel/Functions/Player.UniqueID|Player.UniqueID]] | |||
* [[Scripting/Squirrel/Functions/Player.UniqueID2 |Player.UniqueID2]] | |||
* [[Scripting/Squirrel/Functions/Player.UniqueWorld|Player.UniqueWorld]] | * [[Scripting/Squirrel/Functions/Player.UniqueWorld|Player.UniqueWorld]] | ||
* [[Scripting/Squirrel/Functions/Player.Vehicle|Player.Vehicle]] | * [[Scripting/Squirrel/Functions/Player.Vehicle|Player.Vehicle]] | ||
* [[Scripting/Squirrel/Functions/Player.VehicleSlot|Player.VehicleSlot]] | |||
* [[Scripting/Squirrel/Functions/Player.VehicleStatus|Player.VehicleStatus]] | |||
* [[Scripting/Squirrel/Functions/Player.WantedLevel|Player.WantedLevel]] | |||
* [[Scripting/Squirrel/Functions/Player.Weapon|Player.Weapon]] | * [[Scripting/Squirrel/Functions/Player.Weapon|Player.Weapon]] | ||
* [[Scripting/Squirrel/Functions/Player.WhiteScanlines|Player.WhiteScanlines]] | * [[Scripting/Squirrel/Functions/Player.WhiteScanlines|Player.WhiteScanlines]] | ||
* [[Scripting/Squirrel/Functions/Player.Widescreen|Player.Widescreen]] | * [[Scripting/Squirrel/Functions/Player.Widescreen|Player.Widescreen]] | ||
* [[Scripting/Squirrel/Functions/Player.World|Player.World]] | * [[Scripting/Squirrel/Functions/Player.World|Player.World]] | ||
* [[Scripting/Squirrel/Functions/Player.PutInVehicleSlot|Player.PutInVehicleSlot]] | |||
=== Player Game Functions === | |||
''These functions exist for compatibility with the R2 Squirrel server.'' | |||
* [[GetCinematicBorder]] | |||
* [[GetGreenScanLines]] | |||
* [[GetWhiteScanLines]] | |||
* [[SetCinematicBorder]] | |||
* [[SetGreenScanLines]] | |||
* [[SetWhiteScanLines]] |
Latest revision as of 14:02, 12 December 2018
- BanPlayer
- FindPlayer
- GetPlayerIDFromName
- IsWorldCompatibleWithPlayer
- KickPlayer
- PlaySoundForPlayer
- Player.Action
- Player.AddSpeed
- Player.Admin
- Player.AimDir
- Player.AimPos
- Player.Alpha
- Player.Ammo
- Player.Angle
- Player.Armour
- Player.Away
- Player.Ban
- Player.CameraLocked
- Player.CanAttack
- Player.CanDriveby
- Player.Cash
- Player.Class
- Player.Colour
- Player.Disarm
- Player.Eject
- Player.FPS
- Player.Frozen
- Player.GameKeys
- Player.GetAmmoAtSlot
- Player.GetWeaponAtSlot
- Player.GiveMoney
- Player.GiveWeapon
- Player.GreenScanlines
- Player.HasChatTags
- Player.HasMarker
- Player.Health
- Player.ID
- Player.Immunity
- Player.IP
- Player.IsCrouching
- Player.IsDrunk
- Player.IsOnFire
- Player.IsOnRadar
- Player.IsSpawned
- Player.Key
- Player.Kick
- Player.Name
- Player.Ping
- Player.PlaySound
- Player.Pos
- Player.Redirect
- Player.RestoreCamera
- Player.RemoveMarker
- Player.RemoveWeapon
- Player.Score
- Player.SecWorld
- Player.Select()
- Player.SetAlpha
- Player.SetAnim
- Player.SetDrunkLevel
- Player.SetCameraPos
- Player.SetInterior
- Player.SetMarker - bugged
- Player.SetWantedLevel
- Player.SetWeapon
- Player.ShowMarkers
- Player.Slot
- Player.Skin
- Player.Spawn
- Player.SpectateTarget
- Player.Speed
- Player.StandingOnObject
- Player.StandingOnVehicle
- Player.State
- Player.StreamedToPlayer
- Player.Typing
- Player.Team
- Player.UniqueID
- Player.UniqueID2
- Player.UniqueWorld
- Player.Vehicle
- Player.VehicleSlot
- Player.VehicleStatus
- Player.WantedLevel
- Player.Weapon
- Player.WhiteScanlines
- Player.Widescreen
- Player.World
- Player.PutInVehicleSlot
Player Game Functions
These functions exist for compatibility with the R2 Squirrel server.