Squirrel/Server/Functions/Players/MarkerScale
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with "{{Squirrel/Title|Player.MarkerScale}} This function sets the player marker scale == Syntax == <code>Player.MarkerScale = int</code> Default is: 2 == Example == Set the pl...") |
Latest revision as of 01:01, 26 August 2014
This function sets the player marker scale
[edit] Syntax
Player.MarkerScale = int
Default is: 2
[edit] Example
Set the player marker scale to big when player types /bigscale
function onPlayerCommand ( pPlayer, szCommand, szParams ) { switch ( szCommand ) { case "bigscale": { pPlayer.MarkerScale = 50; return; } } }
[edit] Notes
The function Player.MarkerScale and call onPlayerCommand were used in in this example. More info about them in corresponding pages.
[edit] Related Functions
- FindPlayer
- GetClosestPlayer
- Player.Alpha
- Player.Angle
- Player.Armour
- Player.Cash
- Player.Class
- Player.ClearWeapons
- Player.Colour
- Player.ColouredName
- Player.EnterVehicle
- Player.ExitVehicle
- Player.ForceToSpawnScreen
- Player.Frozen
- Player.GetBoundariesLower
- Player.GetBoundariesUpper
- Player.GetIgnored
- Player.Health
- Player.ID
- Player.IP
- Player.Immune
- Player.Island
- Player.LUID
- Player.Marker
- Player.MarkerScale
- Player.MarkerSprite
- Player.Muted
- Player.Name
- Player.Nametag
- Player.NametagColour
- Player.Ping
- Player.Pos
- Player.RemoveFromVehicle
- Player.RemoveLimb
- Player.Score
- Player.SetAnim
- Player.SetBoundaries
- Player.SetIgnored
- Player.SetIgnoredBy
- Player.SetVehicleEnterDoor
- Player.SetWeapon
- Player.Skin
- Player.Spawn
- Player.Spawned
- Player.Team
- Player.Train
- Player.Vehicle
- Player.VehicleSeat
- Player.Velocity
- Player.VirtualWorld
- Player.WantedLevel
- Player.Weapon
- Player.SetWeapon
- Player.WeaponAmmo
- Player.WeaponState