StormLight
Member
To make my networking project, I followed along with a tutorial. I still don't understand networking fully, so I am not completely sure how to go about sending a variable that stores the creation of the bullet object.
What would I put where the question mark is?
GML:
create = instance_create_depth(obj_client.x, obj_client.y, 2, obj_bullet);
buffer_seek(con_client.client_buffer,buffer_seek_start,0);
buffer_write(con_client.client_buffer,buffer_u8,network.shoot);
buffer_write(con_client.client_buffer,buffer_?,create);
network_send_packet(con_client.client,con_client.client_buffer,buffer_tell(con_client.client_buffer));