Quote Originally Posted by Reloac View Post

Well i guess that would work, however i guess player isn't defined, since it states that in the error when i use ...

sWorld->SendWorldText(LANGUAGE_COMMAND_KICKMESSAGE, playerName.c_str(), player->GetName().c_str(), kickReasonStr.c_str());
how would i go about defining it?
Kinda figured you would use my example variable name. Mine was an example, but seeing from your first post, 'target' would be the variable you would use, unless you changed it all. Otherwise, target is already declared so use it.