Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function FindPlayer( desired )
- desired = desired:lower()
- local match
- for k, v in ipairs( player.GetAll() ) do
- if( v:Nick():lower():find( desired ) ||
- v:SteamID():lower():find( desired ) ) then
- if( match ) then return false end
- match = v
- end
- end
- return match
- end
Add Comment
Please, Sign In to add comment