Player.GetIgnored
From Liberty Unleashed Wiki
Returns if the player is ignored by the specified player
Syntax
bool Player.GetIgnored( player )
Arguments
- player - The pointer of the player to check against
Example
This will check if the player has been ignored by Bob when they type '/ignored'.
function onPlayerCommand( pPlayer, szCommand, szText ) { if ( szCommand == "ignored" ) { local pTarget = FindPlayer( "Bob" ); if ( pTarget ) { local bIgnored = pPlayer.GetIgnored( pTarget ); MessagePlayer( "Bob's ignore status for you is set to - " + bIgnored, pPlayer ); } else MessagePlayer( "No player with that name found!", pPlayer ); } return 1; }
Notes
The function MessagePlayer FindPlayer and and event onPlayerCommand were used in this example. More info about them in the corresponding pages.
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