Moderator error/ban and kick in game. (PLEASE HELP!)
Posted: 01 Jul 2011, 15:07
Hey everyone! I am having a big problem...my game does not have a login database and I created a button that only moderators can see and can ban other players with. But when I login with the moderator name and try to ban a user I get this error If anyone has a solution PLEASEEE help!
This is the code that I used in the button11:48:42.268 - [WARNING] > A non-Admin user has sent an Admin request. Req:kick, User: Gokhan137, IP: (********)
Code: Select all
on (release)
{
var dataObj:Object = {}
dataObj.id = userId.toString()
kickObj.userKick = _root.userList_lb.getSelectedItem().label;
smartfox.sendXtMessage("$dmn", "kick", dobj);
}