#173053428Wednesday, September 02, 2015 1:37 PM GMT
local network = {}
function network:send(...)
game.ReplicatedStorage.RemoteEvent:FireServer(...)
end
function network:fetch(...)
game.ReplicatedStorage.RemoteFunction:InvokeServer(...)
end
this honestly makes my life so much easier
#173055619Wednesday, September 02, 2015 2:23 PM GMT
Wat
local webApi = {}
function webApi:post(...)
data = ...
game:GetService('HttpService'):PostAsync('http://isosta.net/reduxRequests.php',data)
end
function webApi:get(...)
end
#173057570Wednesday, September 02, 2015 3:04 PM GMT
local WebAPI = {}
function WebAPI:Post(...)
dataPosted = ...
game:GetService('HttpService'):PostAsync('http://isosta.net/reduxRequests.php',dataPosted)
end
function WebAPI:Get(...)
end
| R$33,340 | Clan Developer |