27.11.2018, 13:13
Quote:
Clean up is done through "Delete" functions. Its automatically called when created variable get out of scope through destructors. But they won't work in cases having global and static lifetime. Users have to call these functions manually in those cases.
|
pawn Code:
new Response:globalResp;
main()
{
new Response:resp = HttpGet("https://wiki.sa-mp.com");
if(...)
{
globalResp = resp;
}
}