ID:262822
 
Code:
    Click(mob/M)
if(M.owner == "player1" && player1 == usr.key)
usr.select = M;usr << "[M] has been selected"
else if(M.owner == "player2" && player2 == usr.key)
usr.select = M;usr << "[M] has been selected"


Problem description:

units wont select!
(btw, would it have soemthing to do with the fact im using text mode?)

I'm assuming the Click() is for atom/Click(), so the argument won't be the person you're clicking. In your case, src would be the thing that's being clicked, and usr would be the person who's clicking the object.

~~> Unknown Person
In response to Unknown Person
its mob/click...
In response to Rky_nick
nvm fixed it