getAllGraffitis
exports["RiP-Graffiti"]:getAllGraffitis()
This function returns all graffitis in the server
Arguments
None
Returned Value
Type | Explanation |
---|---|
Table | A table containing all graffitis in the server |
Example
local graffitis = exports["RiP-Graffiti"]:getAllGraffitis()
for _, graffiti in ipairs(graffitis) do
print(json.encode(graffiti))
end