Squirrel/Server/Functions/Players/FindPlayer
From Liberty Unleashed Wiki
(Difference between revisions)
(New page: __NOTOC__ This function finds a player from an ID or part of the nick and returns the pointer to that player. If no player is found, ''null'' will be returned. == Syntax == ''FindPlayer'...) |
Revision as of 08:00, 14 December 2009
This function finds a player from an ID or part of the nick and returns the pointer to that player. If no player is found, null will be returned.
Syntax
FindPlayer can take 2 different lists of parameters. These are:
Player FindPlayer( int id )
Player FindPlayer( string name )
Arguments
- id - The ID of the player to be found
- name - The name (or part of it) of the player to be found
Example
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
-- todo
Notes
-- Example notes/list of used functions here
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