SA-MP Forums Archive
Having to rejoin to save account - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Having to rejoin to save account (/showthread.php?tid=604087)



Having to rejoin to save account - TheMafien - 31.03.2016

I am using a script called Voltage gaming made by wizarding samp.
When the player creates a account they must re-join to save it and it's kind of annoying because they are muted. How can I remove this or does anyone have a version that dosent have this. I am new to pawno so please go as basic as possible. Thanks
This is the code if it helps
Код:
TutStep[playerid] = 0;

			PlayerInfo[playerid][pTut] = 1;
			gOoc[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
			ClearChatbox(playerid);
			TogglePlayerControllable(playerid, 1);
			SetCamBack(playerid);
			DeletePVar(playerid, "MedicBill");
			SetPlayerColor(playerid,TEAM_HIT_COLOR);
			SetPlayerInterior(playerid,0);
			SetPlayerPos(playerid, 1994.4800,-2261.5767,13.5700);
			SetPlayerFacingAngle(playerid, 88.3319);
			SetCameraBehindPlayer(playerid);
			SetPlayerVirtualWorld(playerid, 0);

			SetPlayerInterior(playerid,0);
			SetPlayerPos(playerid, 1994.4800,-2261.5767,13.5700);
			SetPlayerFacingAngle(playerid, 360);
			SetCameraBehindPlayer(playerid);
			TogglePlayerControllable(playerid, 1);

			SendClientMessage(playerid, COLOR_GREEN, ""OFICIAL_COLOR"** Welcome To Voltage Gaming Roleplay **");
			SendClientMessage(playerid, COLOR_WHITE, "* You have been automatically refunded /stats for the information");
			SendClientMessage(playerid, COLOR_LIGHTRED, "Your VIP Level has been set to:  Silver");
			SendClientMessage(playerid, COLOR_YELLOW, "--->PLEASE YOU HAVE TO RE-LOGGING OF NOW TO SAVE YOUR ACCOUNT. - YOU ARE MUTED.");

			PlayerInfo[playerid][pLevel] = 2;
       		GivePlayerCash(playerid, 500000);
         	PlayerInfo[playerid][pMats] = 10000;
         	PlayerInfo[playerid][pPot] = 10;
         	PlayerInfo[playerid][pCrack] = 10;
          	PlayerInfo[playerid][pAccount] = 500000;
          	PlayerInfo[playerid][pDonateRank] = 2;
		    //ShowPlayerDialog(playerid, 5200, DIALOG_STYLE_MSGBOX, arrString, "You are entering our a new world of its own, Choose a package to begin!", "Continue", "Next");
  }
	}



Re: Having to rejoin to save account - TheMafien - 31.03.2016

I still need help does anyone know?