17.07.2011, 03:22
Quote:
pawn Код:
pawn Код:
|
pawn Код:
if(udb_Exists(PlayerName(playerid)))
{
if(dUserINT(PlayerName(playerid)).("Banned") == 1)
{
SendClientMessage(playerid, COLOR_YELLOW, "This player name has been banned from [Sarcr]");
SendClientMessage(playerid, COLOR_YELLOW, "Date of Ban: N/A");
SendClientMessage(playerid, COLOR_YELLOW, "Time of Ban: N/A");
SendClientMessage(playerid, COLOR_YELLOW, "Banned By: N/A");
SendClientMessage(playerid, COLOR_YELLOW, "Banned For: N/A");
SendClientMessage(playerid, COLOR_YELLOW, "If you feel that this is a mistake, please write an appeal at www.sa-rcr.com");
Kick(playerid);
}
SendClientMessage(playerid,COLOR_ERROR,"This player name has already been registered. Please login before you spawn.");
ShowLoginScreen(playerid);
}
else if(!udb_Exists(PlayerName(playerid)))
{
SendClientMessage(playerid,COLOR_ERROR,"This player name has not been registered. You must register before playing on [Sarcr].");
ShowRegisterScreen(playerid);
}