registration system
#1

hello guys,,
i have problem, i have GM with mysql system,so i delete all system mysql in there.
when i compile ,is completed ,no one error detect..
so i test it ,i use [FS]LuxAdmin for registration .
when i connect,its taking registration ,but not spawn??
how to fix it?? please help..

Thank you ..
Reply
#2

Maybe the gamemode and the LuxAdmin got mixed up?
Reply
#3

Did you Added the Plugins in Server.cfg?
Reply
#4

Quote:
Originally Posted by Arxalan
Посмотреть сообщение
Did you Added the Plugins in Server.cfg?
yes, i was added all plugin needed. but it still doesnt work??
Reply
#5

Same problem was with me use Whirlpool.dll in the server.cfg . And more than 1 FS can mix there codes and they can be bugged.
Reply
#6

Quote:
Originally Posted by LivingLikeYouDo
Посмотреть сообщение
Maybe the gamemode and the LuxAdmin got mixed up?
got mixed up?? no isn't ,all registration system in GM was deleted .so i use FS Lux Admin for reg . . .
what do you think about it??

here the code ONPLAYERCONNECT
Код:
public OnPlayerConnect(playerid)
{
    format(gString, SOS, "Welcome '%s' to the COD - BattleField", PlayerName(playerid)); SendClientMessage(playerid, COLOR_GREEN, gString);
	SendClientMessage(playerid, green, "Visit www.cod-samp.in for the servers website");

    TogglePlayerSpectating(playerid,true);
    SetPlayerWeather(playerid, 2);
    TextDrawHideForPlayer(playerid, Textdraw[0]);
	TextDrawHideForPlayer(playerid, Textdraw[1]);
	TextDrawHideForPlayer(playerid, Textdraw[2]);
	TextDrawHideForPlayer(playerid, Textdraw[3]);
	TextDrawHideForPlayer(playerid, Textdraw[4]);
	TextDrawHideForPlayer(playerid, Textdraw[5]);
	TextDrawHideForPlayer(playerid, Textdraw[6]);
	TextDrawHideForPlayer(playerid, Textdraw[7]);
	TextDrawHideForPlayer(playerid, Textdraw[8]);
	TextDrawHideForPlayer(playerid, Textdraw[9]);
	TextDrawHideForPlayer(playerid, Textdraw[10]);

    if(CountIP(GetIPP(playerid)) >= 6) return Kick(playerid), 0;
    MAX_PLAYERS_ = playerid > MAX_PLAYERS_ ? playerid : GetHighestID(),
    npc[playerid] = bool:IsPlayerNPC(playerid),
    var[playerid] = SetTimerEx("BSS",2500,false,"i",playerid),
    warns[playerid] = 0;

    Spree[playerid] = 0;
    DeleteObjects(playerid);

    SetPVarInt(playerid, "vehicleid", 0);

    foreach (Zones, i)
	{
	    SetPlayerMapIcon(playerid, 30 + i, ZoneInfo[i][pointPos][0],ZoneInfo[i][pointPos][1],ZoneInfo[i][pointPos][2], 19, MAPICON_GLOBAL);
	    GangZoneShowForAll(Zone[i], 0x00000043);
	    CapturingZone[playerid] = -1;
	    if (tCP[i] == NONE) GangZoneShowForAll(Zone[i], -66);
	    else if (tCP[i] == USA) GangZoneShowForAll(Zone[i], USA_GZ_COLOR);
	    else if (tCP[i] == RF) GangZoneShowForAll(Zone[i], RF_GZ_COLOR);
	    else if (tCP[i] == AI) GangZoneShowForAll(Zone[i], AI_GZ_COLOR);
	    else if (tCP[i] == IU) GangZoneShowForAll(Zone[i], IU_GZ_COLOR);
	    else if (tCP[i] == EA) GangZoneShowForAll(Zone[i], EA_GZ_COLOR);
//	    else if (tCP[i] == AA) GangZoneShowForAll(Zone[i], AA_GZ_COLOR);
//	    else if (tCP[i] == LG) GangZoneShowForAll(Zone[i], LG_GZ_COLOR);
//	    else if (tCP[i] == GW) GangZoneShowForAll(Zone[i], GW_GZ_COLOR);
    }

    capturebar[playerid] = CreatePlayerProgressBar(playerid, 40, 320, 100, 10, COLOR_GREEN, 25);



    ClassTaken[playerid] = 1;
    FirstSpawn[playerid] = 1;

    PlayerInfo[playerid][pVIP] = 0; //Setting the VIP level 0 on player connect-
	Enablevheal[playerid] = 1; //Enabling the /vheal command on player connect--
	Enablevbonus[playerid] = 1; //Enabling the /vbonus command on player connect
	HasSpawnedCar[playerid] = 0;//-Setting the value to 0
	//-------------Checking and creating the player account in database---------



    new ggString[200];
    format(ggString, sizeof(ggString), "%s has ~g~joined ~w~the server!", PlayerName(playerid));
    //SendClientMessageToAll(-1, ggString);
    SendBoxMessage(playerid, ggString);

	MapIcons(playerid);




	//--------------------------------
    GangZoneShowForAll(GZ_ZONE_U, USA_GZ_COLOR); //usa GZ
    GangZoneShowForAll(GZ_ZONE_I, IU_GZ_COLOR); //Indian GZ
    GangZoneShowForAll(GZ_ZONE_E, EA_GZ_COLOR); //euro GZ
    //GangZoneShowForAll(GZ_ZONE4, EA_GZ_COLOR); //europe GZ
    //GangZoneShowForAll(GZ_ZONE5, LG_GZ_COLOR); //latino GZ
    GangZoneShowForAll(GZ_ZONE_R, RF_GZ_COLOR); //Russia GZ
    GangZoneShowForAll(GZ_ZONE_A, AI_GZ_COLOR);//arabia GZ
    //GangZoneShowForAll(GZ_ZONE8, AA_GZ_COLOR); //aussie GZ



    PlayerInfo[playerid][pAdmin] = 0;
	PlayerInfo[playerid][pHelper] = 0;
	PlayerInfo[playerid][pJailed] = 0;
	PlayerInfo[playerid][pKills] = 0;
	PlayerInfo[playerid][pDeaths] = 0;
	PlayerInfo[playerid][pScores] = 0;
	PlayerInfo[playerid][pMoney] = 0;
	PlayerInfo[playerid][AdminDuty] = 0;
	PlayerInfo[playerid][pWarns] = 0;
	PlayerInfo[playerid][pSpamTime] = 0;
	PlayerInfo[playerid][Paused] = 0;
	PlayerInfo[playerid][LastDeath] = 0;
	PlayerInfo[playerid][DeathSpam] = 0;
	PlayerInfo[playerid][pLogged] = 0;
	PlayerInfo[playerid][pMuted] = 0;
	PlayerInfo[playerid][FailLogin] = 0;
	PlayerInfo[playerid][A51Spawn] = 0;
	PlayerInfo[playerid][DASpawn] = 0;
	PlayerInfo[playerid][BIGSpawn] = 0;
	PlayerInfo[playerid][NorSpawn] = 1;
	HasSpawnedCar[playerid] = 0;
	DND[playerid] = 0;
	//--------------------------------
	//--------------------------------
	//--------Account registration----
    //---------------------------------
	return 1;
}
Reply
#7

First use Whirlpool.dll in server.cfg maybe it works and Did you edit the FS?
Reply
#8

yes. i was added and edited it ,then the registration is coming , when is completed .The dialog of switching Team is not show?? :v
Reply
#9

There isn't any ShowPlayerDialog so that's why it don't show.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)