Register Problem
#3

Quote:
Originally Posted by AnnaSB
Посмотреть сообщение
Post The Code Plz
This code is when a player is new he/she has pTut == 0 he will recieve this message, but when i enter a password and register i will not take to this Dialog it will load about 1-2 seconds and it will crash even i don't have any kind of Mods, and if the player is already registered no crashing problem
Код:
SetPlayerSpawn(playerid)
{
                if(PlayerInfo[playerid][pTut] == 0)
		{
			gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
			TogglePlayerControllable(playerid,0);
			SetPlayerColor(playerid,TEAM_HIT_COLOR);
			SetPlayerVirtualWorld(playerid, 0);
			SetPlayerInterior(playerid, 0);
			Streamer_UpdateEx(playerid,1761.0281, -1846.6010, 13.2184);
			SetPlayerPos(playerid,-2150.0972,1901.4792,555.4389);
			SetPlayerCameraPos(playerid, 1761.0281, -1846.6010, 13.2184);
			SetPlayerCameraLookAt(playerid, 1760.3217, -1847.3002, 13.1983);

   			RegistrationStep[playerid] = 1;
   			ShowPlayerDialog(playerid, REGISTERSEX, DIALOG_STYLE_LIST, "{33CCFF}Is your character male or female? - www.samp-sgrp.enjin.com", "Male\nFemale", "Submit", "");
			return 1;
		}
Reply


Messages In This Thread
Register Problem - by lwilson - 10.02.2015, 05:28
Re: Register Problem - by AnnaSB - 10.02.2015, 07:28
Re: Register Problem - by lwilson - 10.02.2015, 10:22
Re: Register Problem - by DaniceMcHarley - 10.02.2015, 12:07
Re: Register Problem - by lwilson - 11.02.2015, 11:52
Re: Register Problem - by kevin1990 - 11.02.2015, 18:15
Re: Register Problem - by SecretBoss - 11.02.2015, 19:56
Re: Register Problem - by lwilson - 12.02.2015, 01:51
Re: Register Problem - by lwilson - 12.02.2015, 01:54
Respuesta: Re: Register Problem - by !R1Ch@rD! - 12.02.2015, 03:08

Forum Jump:


Users browsing this thread: 1 Guest(s)