Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 0:
- mode = readbyte(0);
- version = readstring(0);
- username = readstring(0);
- password = readstring(0);
- if mode = 1 {
- //Login code here.
- clearbuffer(0);
- writebyte(0,0);//Welcome to the game!
- writebyte(2,0);//We're entering you in.
- writeshort(client,0);
- sendmessage(client);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement