14.08.2011, 20:22
I swear this is the biggest problem i've ever had with scripting. I just can't make my auto spawning work.
I want when you register, it automatically spawns you at x,y,z. When you login, i want it to spawn you at your last x,y,z automatically. I don't want them to see/click the spawn button, i just want player to auto spawn.
I have most of this working, except the actual spawning part. The coords for last position save into my database, with ease. But i can't figure out how to make it auto spawn you and such.
I use these enums
Float
pos
Float:ypos
Float:zpos
I'd be extremely thankful if anyone showed me how to do the autospawn..thanks in advance.
I want when you register, it automatically spawns you at x,y,z. When you login, i want it to spawn you at your last x,y,z automatically. I don't want them to see/click the spawn button, i just want player to auto spawn.
I have most of this working, except the actual spawning part. The coords for last position save into my database, with ease. But i can't figure out how to make it auto spawn you and such.
I use these enums
Float

Float:ypos
Float:zpos
I'd be extremely thankful if anyone showed me how to do the autospawn..thanks in advance.