ID:159916
 
when my players login they go to the xyz coordinates of 0,0,0....

Client/New()
src.loc = locate(12,11,1)



isn't working either tho..... i get the error

bar.dm:2:error:src.loc:undefined var
Look up client.loc.

Have you noticed they don't have one?
In response to Jeff8500
Jeff8500 wrote:
Look up client.loc.

Have you noticed they don't have one?

yea but then i do that and get....

bar.dm:2:error:client.loc:undefined var
In response to Seteden
Have you noticed clients don't have a client var either?
In response to Jeff8500
yea so how do i get it to understand that there is no variable needed for it?
In response to Seteden
Look up a mob. That's what client's are tied to, and what you typically think of a player as. It never hurts to Read the guide, either.
In response to Seteden
I think that what Jeff's trying to hint at, is the fact that you should not try to copy paste random code somewhere, if you do not understand what it means/does.
No offence intended there, but that will cause trouble in most every case.
Also, adding to what Jeff said, it's client/New(), not Client/New().
In response to Jeff8500
alright, thanks guys...i got it....i used the code

client/New()
..()
mob.loc = locate(12,11,1)