Legacy GM Multiple buffer usage

S

siign18

Guest
Hi,i was wondering how can i use 2 or more buffers at the same time and save them on the same server?
 

Paskaler

Member
Yup. If you need tons of them you could also use an array:
Code:
buffers[0] = buffer_create();
buffers[1] = buffer_create();
Just temember to free all of the buffers with buffer_destroy(buffer_variable_here);
 
S

siign18

Guest
Yup. If you need tons of them you could also use an array:
Code:
buffers[0] = buffer_create();
buffers[1] = buffer_create();
Just temember to free all of the buffers with buffer_destroy(buffer_variable_here);
Thank you!
 
Top