function onPlayerConnect(pPlayer)
{
if (typeof pPlayer.Name.find("\"") != "null") //using "typeof" method, bcs .find may return 0 value
{
MessagePlayer("You have been kicked. Your name contains non-allowed characters", pPlayer, 255, 0, 0);
KickPlayer(pPlayer);
}
return 1;
}