Register
#1

Hey , i have problem with registratsion
asking ,
asks the What is your nationality? (Las Barrancas, El Quebrados or Las Payasadas)
i answer Las Barrancas
and she ask again, What is your nationality? (Las Barrancas, El Quebrados or Las Payasadas)



pawn Код:
new idx;
tmp = strtok(text, idx);
if((strcmp("Mees", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("mees")))
{
PlayerInfo[playerid][pSex] = 1;
SendClientMessage(playerid, COLOR_YELLOW2, "Olgu, sa oled meessoost.");
SendClientMessage(playerid, COLOR_LIGHTRED, "Mis on sinu kodakondsus? (Las Barrancas, El Quebrados vхi Las Payasadas)");
SetPlayerSkin(playerid, 135);
SetPlayerPos(playerid, -1465.7046,2611.3711,56.1703);
PlayerInfo[playerid][pChar] = 135;
RegistrationStep[playerid] = 3;
PlayerInfo[playerid][pAge] = 16;
return 0;
pawn Код:
new idx;
            tmp = strtok(text, idx);
            if((strcmp("Las Barrancas", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("las barrancas")))
            {
                PlayerInfo[playerid][pOrigin] = 1;
                SendClientMessage(playerid, COLOR_YELLOW2, "Olgu, sa oled nььdsest Las Barrancas elanik.");
                SendClientMessage(playerid, COLOR_LIGHTRED, "Tдname, et tдitsite vajalikud dokumendid! Teid suunatakse nььd mдngu.");
                RegistrationStep[playerid] = 0;
                TutTime[playerid] = 0; PlayerInfo[playerid][pTut] = 1;
                SetPlayerInterior(playerid, 3);
                SetPlayerPos(playerid, -1465.7046,2611.3711,56.1703);
                SetCameraBehindPlayer(playerid);
                SetPlayerVirtualWorld(playerid, 0);
                gOoc[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
                TogglePlayerControllable(playerid, 1);
                MedicBill[playerid] = 0;
                AfterTutorial[playerid] = 1;
                SetTimerEx("UnsetAfterTutorial", 2500, false, "i", playerid);
                SetTimerEx("UnsetFirstSpawn", 5000, false, "i", playerid);
                SetPlayerSpawn(playerid);
                return 0;
Reply


Messages In This Thread
Register - by janx221 - 15.01.2012, 06:32
Re: Register - by janx221 - 15.01.2012, 07:18
Re: Register - by ScriptJorkis - 15.01.2012, 07:20
Re: Register - by §с†¶e®РµРe - 15.01.2012, 07:20
Re: Register - by wildcookie007 - 15.01.2012, 07:20
Re: Register - by James Coral - 15.01.2012, 07:24
Re: Register - by janx221 - 15.01.2012, 07:25
Re: Register - by janx221 - 15.01.2012, 07:27

Forum Jump:


Users browsing this thread: 1 Guest(s)