I am working with the SendAPIcmd command from Sedrika's webshop.
What i am now doing is adding an Kick command for an player.
Now what i am not getting accomplished is that an player that has been kicked sees an message.
I have atm this
Code:
else if( bi2.dwCommand == 103 ) //KickPlayer
{
pUser->AddText("You have been kicked from the game.");
g_dpDBClient.SavePlayer( pUser, pWorld->GetID(), pUser->GetPos(), pUser->GetLayer() );
g_DPCoreClient.SendKillPlayer( pUser->m_idPlayer, pUser->m_idPlayer );
}
But when the player is getting kicked it doesnt show the message at all.
Any tips for this?
With kind regards.






