ID:177978
 
obj/Who
icon='buttons.dmi'
icon_state="who"
layer=MOB_LAYER+1
New(client/C)
screen_loc="12,1"
C.screen+=src
Click()
usr<<usr.Who()
MouseEntered()
icon_state="whoover"
MouseExited()
icon_state="who"

obj/Say
icon='buttons.dmi'
icon_state="say"
layer=MOB_LAYER+1
New(client/C)
screen_loc="13,1"
C.screen+=src
Click()
usr<<usr.Say1()
MouseEntered()
icon_state="sayover"
MouseExited()
icon_state="say"

this doesn't make anew button on the screen
Do you know the correct code to make hub buttons?..if so, could you plz can you tell me it?
mob/Login()
new/obj/Who(src.client)
new/obj/Say(src.client)
ShadowSiientx wrote:
this doesn't make anew button on the screen

You're quite correct, since nowhere in the code you showed us is there a new() call to create either object.

Lummox JR
You forgot to actually add them:

client/New()
..()//make sure the client can connect
new/obj/who(src)
new/obj/say(src)