Code: Select all
getApi().disconnectUser(NpcPlayer);
getApi().removeRoom(getParentExtension().getParentRoom());
i found some codes like that in another APIs and i'm a little confused!
please help me if this codes should change, thank you
Code: Select all
getApi().disconnectUser(NpcPlayer);
getApi().removeRoom(getParentExtension().getParentRoom());
Lapo wrote:What version of SFS2X are you using?
Lapo wrote:When you say that sometimes it doesn't work what do you mean? Do you see any errors?
Return to “Server Side Extension Development”
Users browsing this forum: No registered users and 15 guests