[POMOC] Intro..

Započeo [CH]Ivan_Lukic, Maj 20, 2011, 21:06:37 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GF EDit
Detaljan opis problema: stavljao sam intro i sve radi ali kad hocu da se logiram...upisem lozinku on meni ide dalje za registriranje jeste li muusko ili zensko itd...
Dio skripte:
/*------------------------------------------------------------------------------*/
public IntroCheck() {
for(new i=0;i<MAX_PLAYERS;i++) {
if(IsPlayerConnected(i) && GetPVarInt(i, "introstate") != 0) {
    if(GetPVarInt(i, "introstate") == 1) {
        for(new t=0;t<9;t++) { TextDrawHideForPlayer(i, IntroTD[t]); }
          for(new t=0;t<7;t++) { TextDrawShowForPlayer(i, IntroTDDva[t]); }
          SetPVarInt(i, "introstate", 2); //INTRO 2.
          PlayerPlaySound(i, 1183, 0.0, 0.0, 0.0); SetPlayerPos(i, 2277.7976,-930.1538,28.0001); SetPlayerCameraPos(i, 2287.1963,-1081.7050,29.8238); SetPlayerCameraLookAt(i, 2273.5034,-795.6640,33.1889);
}else if(GetPVarInt(i, "introstate") == 2) {
    for(new t=0;t<7;t++) { TextDrawHideForPlayer(i, IntroTDDva[t]); }
          for(new t=0;t<7;t++) { TextDrawShowForPlayer(i, IntroTDTri[t]); }
          SetPVarInt(i, "introstate", 3);//INTRO 3.
          PlayerPlaySound(i, 1183, 0.0, 0.0, 0.0); SetPlayerCameraPos(i, 2147.1750,2180.2100,10.3769); SetPlayerCameraLookAt(i, 2147.1750,2180.2100,10.3769);
}else if(GetPVarInt(i, "introstate") == 3) {
    for(new t=0;t<7;t++) { TextDrawHideForPlayer(i, IntroTDTri[t]); }
          new plname[MAX_PLAYER_NAME], string[256]; GetPlayerName(i, plname, sizeof(plname)); SetPVarInt(i, "introstate", 0); format(string, sizeof(string), "%s.ini", plname);
          new playerid;
          new classid;
if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
{
ClearChatbox(playerid, 10);
SendClientMessage(playerid, COLOR_GREEN, " || DOBRODOSLI NA WORLDWILD ROLEPLAY SERVER || www.worldwild.tk || ");
ClearChatbox(playerid, 5);

if (gPlayerAccount[playerid] != 0)
{
new loginstring[256];
new loginname[128];
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{FFFFFF}Dobrodosao na {FFAF00}WorldWild RolePlay/DM {FFFFFF}Server\n\n{00C0FF} %s\n{FFFFFF}Tvoj korisnicki racun je pronadjen!\n\n{FFFFFF}Molimo {F81414}upisi svoju lozinku {FFFFFF}da udjete na server:",loginname);
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"{00C0FF} Logiranje",loginstring,"Logiranje","Odustani");
}
else
{
gPlayerAccount[playerid] = 0;
new regstring[128];
new regname[64];
GetPlayerName(playerid,regname,sizeof(regname));
format(regstring,sizeof(regstring),"{FFFFFF}Dobrodosao na pocetak registracije\n{00C0FF}%s\n{FFFFFF}Vas racun nije registriran, molimo upiste zeljenu lozinku:",regname);
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"{00C0FF}Registracija",regstring,"Registriraj","Odustani");
}
PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
SetPlayerTeamFromClass(playerid,classid);
}
else SpawnPlayer(playerid); } } }
   return 1;
   }

Neke slike/video za lakse dobivanje pomoci(neobavezno):