20.10.2013, 16:55
Can please anyone show me how to make /spawn command?
When player use /spawn then save player current position, if player died then spawn back where he use /spawn. Then If player disconnect to the server after he went back to server spawn him back again in the same position where he used /spawn.
Additional to that if /rspawn - then reset player spawn to normal spawn points. And is it possible to always setplayer virtual world to 0 ? Dont use Getplayervirtualworld.
Anyway Im using y_ini saving system.
When player use /spawn then save player current position, if player died then spawn back where he use /spawn. Then If player disconnect to the server after he went back to server spawn him back again in the same position where he used /spawn.
Additional to that if /rspawn - then reset player spawn to normal spawn points. And is it possible to always setplayer virtual world to 0 ? Dont use Getplayervirtualworld.
Anyway Im using y_ini saving system.