mob/client/New()
src.client.eye = locate(16,16,1)
shouldn't it keep the client's eye at 16,16,1? well it doesn't and it doesn't do anythning
ID:267209
![]() Jan 10 2003, 11:21 am
|
|
i have this
mob/client/New() shouldn't it keep the client's eye at 16,16,1? well it doesn't and it doesn't do anythning |
Weedman wrote:
Magnus VI wrote: > > mob/client/New() shouldn't it keep the client's eye at 16,16,1? well it doesn't and it doesn't do anythning > client/New() No. That will not work, because src would probably be the client, and definatly not a mob. You're trying to call a client.client.eye, a variable that does not exist. I considered replying, but I assumed that his player was mob/client (odd path for a player, I prefer mob/player...) I couldn't figure it out, so I didn't reply. client/New() -<font color="#ffff00">Nova</font> |
well i solved my problem like this
mob/proc/eye() and then calling the eye() in Login() |
usr is not always invalid in procs. But, as a rule, if you're using it in a proc, then there's a 75% chance you're using it wrong (remember that verbs are procs!). If you're using it in a movement proc, there's a 99.99% chance you're using it wrong. In other words, unless if you know what usr is, and you know that's what you want, then don't use it.
|
I think it should just be: