Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Aldin Begovic poslato Februar 07, 2012, 13:33:50 POSLE PODNE

Naslov: Odg: [pomoc]intro
Poruka od: Aldin Begovic poslato Februar 07, 2012, 13:33:50 POSLE PODNE
mod:Gf
opis problema:radio sam intro po tutu sve je ok sa 2 intra al nemoze nikako da mi prebaci na 3 intro !znaci pokaze mi 1 pa 2 pa onda prebaci opet na 1 i sve tako. Evo pogledajte gdje grijesim ]

Kod:
   else
{

TogglePlayerSpectating(playerid, 1);
        ForceClassSelection(playerid);
TextDrawShowForPlayer(playerid, Intro1);
TextDrawShowForPlayer(playerid, imesrw);
TextDrawShowForPlayer(playerid, srw);
TextDrawShowForPlayer(playerid, modsrw);
KillTimer(IntroTimer[playerid]);
IntroTimer[playerid] = SetTimerEx("Intro", 10000, 0, "d", playerid);

}
   

PlayerInfo[playerid][pModel] = Peds[classid][0];
}
return false;
}

public Intro(playerid)
{
    KillTimer(IntroTimer[playerid]);
SetPlayerCameraPos(playerid, 1584.69, -1310.56, 124.02);
SetPlayerCameraLookAt(playerid, 1581.30, -1314.24, 126.07);//s ove 2 funkcije mozete staviti igracu poziciju kamere itd....
TextDrawHideForPlayer(playerid, Intro1);
TextDrawHideForPlayer(playerid, imesrw);
TextDrawHideForPlayer(playerid, pruga);
TextDrawHideForPlayer(playerid, modsrw);

TextDrawShowForPlayer(playerid, kocke[0]);
TextDrawShowForPlayer(playerid, kocke[1]);
TextDrawShowForPlayer(playerid, kocke[2]);
TextDrawShowForPlayer(playerid, kocke[3]);
TextDrawShowForPlayer(playerid, kocke[4]);
TextDrawShowForPlayer(playerid, kocke[5]);
TextDrawShowForPlayer(playerid, kocke[6]);
TextDrawShowForPlayer(playerid, skripter);
TextDrawShowForPlayer(playerid, maper);
TextDrawShowForPlayer(playerid, ucitavanje);


KillTimer(IntroTimer[playerid]);//ovaj timer se vise nece ponavljat
    IntroTimer2[playerid] = SetTimerEx("Intro2", 10000, 0, "d", playerid);


}
public Intro2(playerid)
{
    TogglePlayerSpectating(playerid, 0);
    PlayerPlaySound(playerid, 1063, 0.0, 0.0, 0.0);
    KillTimer(IntroTimer[playerid]);

   
    TextDrawHideForPlayer(playerid, kocke[0]);
TextDrawHideForPlayer(playerid, kocke[1]);
TextDrawHideForPlayer(playerid, kocke[2]);
TextDrawHideForPlayer(playerid, kocke[3]);
TextDrawHideForPlayer(playerid, kocke[4]);
TextDrawHideForPlayer(playerid, kocke[5]);
TextDrawHideForPlayer(playerid, kocke[6]);
TextDrawHideForPlayer(playerid, skripter);
TextDrawHideForPlayer(playerid, maper);
TextDrawHideForPlayer(playerid, ucitavanje);

TextDrawShowForPlayer(playerid, kockice[0]);
TextDrawShowForPlayer(playerid, kockice[1]);
TextDrawShowForPlayer(playerid, kockice[2]);
TextDrawShowForPlayer(playerid, kockice[3]);

KillTimer(IntroTimer[playerid]);
    IntroTimer3[playerid] = SetTimerEx("Intro3", 10000, 0, "d", playerid);

}
public Intro3(playerid)
{
    TogglePlayerSpectating(playerid, 0);
    KillTimer(IntroTimer3[playerid]);
   
    TextDrawHideForPlayer(playerid, kocke[0]);
TextDrawHideForPlayer(playerid, kocke[1]);
    TextDrawHideForPlayer(playerid, kocke[2]);
TextDrawHideForPlayer(playerid, kocke[3]);

   
  }
Naslov: Odg: [pomoc]intro
Poruka od: Aldin Begovic poslato Februar 07, 2012, 20:13:46 POSLE PODNE
Molim pomoc !!