Skip to main content

getPlayerData

Retrieves a player’s weed data. Optionally pass a key to get a single field; omit it to get the full table. On the server this is an export. On the client the same data is retrieved through a callback (the client has no player source to pass).
string
The specific player data field you want to retrieve (e.g., "level", "exp", "plants_grown"). If omitted, returns a table with all player data.
Looking for an export we don’t have listed here? Contact us and we’ll do what we can!