• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

GMS 2 HeartBeast networking for more then 2 clients?

FoufaDjo

Member
is there a way to add more then one player to the server like a player host server select player then the other can join so like the host send his player creation stats like color and class ect and the server creat the object something like that i saw HeartBeast Networking for Beginners! and sems to work only with one client
if there in the same formate as his video let me know:


var type_event = async_load[? "type"];

switch(type_event){
case network_type_connect:

//here

break;

case network_type_disconnect:

//here

break;

case network_type_data:
var buffer = async_load[? "buffer"];
buffer_seek(buffer,buffer_seek_start,0);
scr_received_packet(buffer);

//send data here

break;
}
 
Top