You simply create a global array with a size of 33. Then you index that array using "id" and assign the value you want to store to that cell of the array.
PHP Code:
new PlayerData[33]
...
function(id)
{
PlayerData[id] = 5 // Save the data for the player
}
other_function(id)
{
new MyVariable = PlayerData[id] // Get saved data for player
}