ToBasePlayer Function

Description

Changes the player slot number to an actual player handle.
ToBasePlayer(int slotindex)

Parameters

int slotindex

Converts the slot number to CBasePlayer

Return

if valid, it will return CBasePlayer@, else it will become NULL