27.06.2012, 15:22
//Check to see if they are registered or logged in
if(!udb_Exists(playerid));
{
SendClientMessage(playerid,COLOR_ERROR,"This player name has already been registered. Please login before you spawn.");
ShowLoginScreen(playerid);
}
else
if(!udb_Exists(playerid));
{
SendClientMessage(playerid,COLOR_ERROR,"This player name has not been registered. You must register before playing.");
ShowRegisterScreen(playerid);
}
for(new i = 0; i < sizeof(Objects); i++) Player[playerid][view][i] = false; /////////xobj
return 1;
}
Try this sir.
if(!udb_Exists(playerid));
{
SendClientMessage(playerid,COLOR_ERROR,"This player name has already been registered. Please login before you spawn.");
ShowLoginScreen(playerid);
}
else
if(!udb_Exists(playerid));
{
SendClientMessage(playerid,COLOR_ERROR,"This player name has not been registered. You must register before playing.");
ShowRegisterScreen(playerid);
}
for(new i = 0; i < sizeof(Objects); i++) Player[playerid][view][i] = false; /////////xobj
return 1;
}
Try this sir.