Tutorial pomoc

Započeo .Стефке, Novembar 12, 2017, 14:17:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Skill Arena
Detaljan opis problema:Ovako znaci u skripti ima kreiran tutorial i sve ali kao da nije ukljucen evo kod
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
forward LoginP(playerid);
public LoginP(playerid)
{
   OcistiChat(playerid,16); TextDrawShowForPlayer(playerid, LoginTextdraw[0]);
   TextDrawShowForPlayer(playerid, LoginTextdraw[1]); TextDrawShowForPlayer(playerid, LoginTextdraw[2]);
   InterpolateCameraPos(playerid, 1164.730102, -1187.794677, 307.139495, 1565.853759, -1567.488525, 307.139495, 30000);
   InterpolateCameraLookAt(playerid, 1169.372436, -1187.942382, 305.288421, 1565.404052, -1562.916870, 305.165283, 30000);
   LogRegTimer[playerid] = SetTimerEx("LogReg",10000, false, "d", playerid);
   return 1;
}
////////////////////////////////////////////////////////
forward Tutorial1(playerid);
public Tutorial1(playerid)
{
    TextDrawHideForPlayer(playerid, TutorialSledi[0]); TextDrawHideForPlayer(playerid, TutorialSledi[1]);
    TextDrawHideForPlayer(playerid, TutorialSledi[2]); TextDrawHideForPlayer(playerid, TutorialSledi[3]);
    TextDrawHideForPlayer(playerid, TutorialSledi[4]); TextDrawHideForPlayer(playerid, TutorialSledi[5]);
    TextDrawHideForPlayer(playerid, TutorialSledi[6]);
   KillTimer(TutorialTimer[playerid]); SetPlayerInterior(playerid, 0);
   JBC_TogglePlayerControllable(playerid, 0); SetPlayerVirtualWorld(playerid, 3475);
    JBC_SetPlayerPos(playerid, 1167.1591,-1699.5642,22.2344); SetPlayerFacingAngle(playerid, 0.0);
   SetPlayerCameraPos(playerid, 1165.29, -1697.51, 46.34); SetPlayerCameraLookAt(playerid, 1168.42, -1700.94, 44.48);
   TextDrawShowForPlayer(playerid,Tut[0][playerid]); OcistiChat(playerid,80);
   TextDrawShowForPlayer(playerid,Tut[1][playerid]); TextDrawShowForPlayer(playerid,Tut[2][playerid]);
   TextDrawShowForPlayer(playerid,Tut[3][playerid]); TextDrawShowForPlayer(playerid,Tut[4][playerid]);
   TextDrawShowForPlayer(playerid,Tut[5][playerid]); TextDrawShowForPlayer(playerid,Tut[6][playerid]);
   TextDrawShowForPlayer(playerid,Tut[7][playerid]); TextDrawShowForPlayer(playerid,Tut[8][playerid]);
   TextDrawShowForPlayer(playerid,Tut[9][playerid]); TextDrawShowForPlayer(playerid,Tut[10][playerid]);
   TextDrawShowForPlayer(playerid,Tut[11][playerid]); new string[50];
   format(string,sizeof(string), "(1/5)"); TextDrawSetString(Tut[11][playerid], string);
   TutorialTimer2[playerid] = SetTimerEx("Tutorial2",7000, true, "d", playerid);
   return 1;
}
///////////////////////////////////////////////////////
forward Tutorial2(playerid);
public Tutorial2(playerid)
{
   KillTimer(TutorialTimer2[playerid]); SetPlayerInterior(playerid, 0); new string[128];
   JBC_TogglePlayerControllable(playerid, 0); SetPlayerVirtualWorld(playerid, 3475);
   JBC_SetPlayerPos(playerid, 845.9943,-961.9553,44.0747); SetPlayerFacingAngle(playerid, 0.0);
    SetPlayerCameraPos(playerid, 872.34, -958.77, 77.43); SetPlayerCameraLookAt(playerid, 871.31, -954.24, 75.57);
    format(string,sizeof(string), "~w~Sada cemo vam prikazati neka od ~y~Pravila"); TextDrawSetString(Tut[7][playerid], string);
    format(string,sizeof(string), "~y~- ~w~Simulacija Stvarnog Zivota."); TextDrawSetString(Tut[8][playerid], string);
    format(string,sizeof(string), "~y~DeathMatch- ~w~Ubijanje igraca bez RP razloga."); TextDrawSetString(Tut[9][playerid], string);
    format(string,sizeof(string), "~y~MetaGaming- ~w~Mesanje IC i OOC Informacija."); TextDrawSetString(Tut[10][playerid], string);
    format(string,sizeof(string), "(2/5)"); TextDrawSetString(Tut[11][playerid], string);
   TutorialTimer3[playerid] = SetTimerEx("Tutorial3",7000, true, "d", playerid);
   return 1;
}
////////////////////////////////////////////////////////
forward Tutorial3(playerid);
public Tutorial3(playerid)
{
   KillTimer(TutorialTimer3[playerid]); new string[128];
   SetPlayerInterior(playerid, 0); JBC_TogglePlayerControllable(playerid, 0);
   SetPlayerVirtualWorld(playerid, 3475); JBC_SetPlayerPos(playerid, 2152.8623,-1029.7639,69.0391);
   SetPlayerFacingAngle(playerid, 0.0); SetPlayerCameraPos(playerid, 2158.11, -1026.58, 74.51);
    SetPlayerCameraLookAt(playerid, 2161.31, -1029.94, 72.65);
    format(string,sizeof(string), "~y~Power Gaming- ~w~Radnja koju je nemoguce izvesti u RL."); TextDrawSetString(Tut[7][playerid], string);
    format(string,sizeof(string), "~y~Revange Kill- ~w~Ubijanje igraca iz osvete OOC Informacije."); TextDrawSetString(Tut[8][playerid], string);
    format(string,sizeof(string), "~y~Spawn Kill- ~w~Ubijanje igraca na njegovom spawn mestu."); TextDrawSetString(Tut[9][playerid], string);
    format(string,sizeof(string), "~y~Bunny Hopping- ~w~Trcanje i skakanje u isto vreme."); TextDrawSetString(Tut[10][playerid], string);
    format(string,sizeof(string), "(3/5)"); TextDrawSetString(Tut[11][playerid], string);
   TutorialTimer4[playerid] = SetTimerEx("Tutorial4",7000, true, "d", playerid);
   return 1;
}
////////////////////////////////////////////////////////
forward Tutorial4(playerid);
public Tutorial4(playerid)
{
   KillTimer(TutorialTimer4[playerid]); new string[128];
   SetPlayerInterior(playerid, 0); JBC_TogglePlayerControllable(playerid, 0);
   SetPlayerVirtualWorld(playerid, 3475); JBC_SetPlayerPos(playerid,1917.9067,-1271.0297,53.1797);
   SetPlayerFacingAngle(playerid, 0.0); SetPlayerCameraPos(playerid, 1903.51, -1285.84, 88.53);
    SetPlayerCameraLookAt(playerid, 1904.10, -1281.23, 86.67);
    format(string,sizeof(string), "~y~Drive Bying- ~w~Pucanje iz vozila ili gazenje pesaka."); TextDrawSetString(Tut[7][playerid], string);
    format(string,sizeof(string), "~y~Non ing- ~w~Ometanje RP-A ili krsenje RP pravila."); TextDrawSetString(Tut[8][playerid], string);
    format(string,sizeof(string), "~w~Zabranjeno je iskoristavanje ~y~bugova/greski ~w~na skripti."); TextDrawSetString(Tut[9][playerid], string);
    format(string,sizeof(string), "~w~Strogo je zabranjeno ~r~hakovanje/citovanje."); TextDrawSetString(Tut[10][playerid], string);
    format(string,sizeof(string), "(4/5)"); TextDrawSetString(Tut[11][playerid], string);
   TutorialTimer5[playerid] = SetTimerEx("Tutorial5",7000, true, "d", playerid);
   return 1;
}
///////////////////////////////////////////////////////
forward Tutorial5(playerid);
public Tutorial5(playerid)
{
   KillTimer(TutorialTimer5[playerid]); new string[128];
   SetPlayerInterior(playerid, 0); JBC_TogglePlayerControllable(playerid, 0);
   SetPlayerVirtualWorld(playerid, 3475); JBC_SetPlayerPos(playerid, 1271.3105,-2348.6055,12.8548);
   SetPlayerFacingAngle(playerid, 0.0); SetPlayerCameraPos(playerid, 1184.32, -2426.23, 40.70);
    SetPlayerCameraLookAt(playerid, 1187.85, -2423.22, 38.84);
    format(string,sizeof(string), "~w~Ovo bi bio kraj tutoriala."); TextDrawSetString(Tut[7][playerid], string);
    format(string,sizeof(string), "~w~Procitajte jos jednom pravila na serveru ~y~/pravila."); TextDrawSetString(Tut[8][playerid], string);
    format(string,sizeof(string), "~w~Potrudite se da postujete ova server pravila."); TextDrawSetString(Tut[9][playerid], string);
    format(string,sizeof(string), "~w~Ugodnu igru i boravak zeli vam ~r~EC:RPG~w~administracija."); TextDrawSetString(Tut[10][playerid], string);
    format(string,sizeof(string), "(5/5)"); TextDrawSetString(Tut[11][playerid], string);
   TutorialTimer6[playerid] = SetTimerEx("Tutorial6",6000, true, "d", playerid);
   return 1;
}
///////////////////////////////////////////////////////
forward Tutorial6(playerid);
public Tutorial6(playerid)
{
   KillTimer(TutorialTimer6[playerid]);
    TextDrawHideForPlayer(playerid,Tut[0][playerid]); OcistiChat(playerid,80);
   TextDrawHideForPlayer(playerid,Tut[1][playerid]); TextDrawHideForPlayer(playerid,Tut[2][playerid]);
   TextDrawHideForPlayer(playerid,Tut[3][playerid]); TextDrawHideForPlayer(playerid,Tut[4][playerid]);
   TextDrawHideForPlayer(playerid,Tut[5][playerid]); TextDrawHideForPlayer(playerid,Tut[6][playerid]);
   TextDrawHideForPlayer(playerid,Tut[7][playerid]); TextDrawHideForPlayer(playerid,Tut[8][playerid]);
   TextDrawHideForPlayer(playerid,Tut[9][playerid]); TextDrawHideForPlayer(playerid,Tut[10][playerid]);
   TextDrawHideForPlayer(playerid,Tut[11][playerid]); SetCameraBehindPlayer(playerid);
   new string[256]; PlayerInfo[playerid][pTutorial] = 1;
    format(string, sizeof(string), ""SPLAVA"Dobrodosao %s u Beograd.", ProveraImenaBDC(playerid));
    SCM(playerid, -1, string);
    SCM(playerid, -1, ""SPLAVA"[EC:RPG]: "SIVA"Dobro dosli na East Coast ,Hvala vam sto podrzavate ovaj server.");
    SCM(playerid, -1, ""SPLAVA"[EC:RPG]: "SIVA"Ako vam je potrebna pomoc obratite se adminima ili kucajte /komande.");
    JBC_TogglePlayerControllable(playerid, 1); TogglePlayerSpectating( playerid, false ); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0);
    if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, 2); PlayerInfo[playerid][pSkin] = 2; }
   if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 2); PlayerInfo[playerid][pSkin] = 2; }
   UlogovanProvera[playerid] = 1; new rand = random(sizeof(RandomSpawn2));
   SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pSkin], RandomSpawn2[rand][0], RandomSpawn2[rand][1], RandomSpawn2[rand][2], 1.0, -1, -1, -1, -1, -1, -1);
    SpawnPlayer(playerid); SavePlayer(playerid); Gladan[playerid] = 100; Sere[playerid] = 100; // ovde SpawnIgraca(playerid);
    PlayerInfo[playerid][pZlato] = 0;
   return 1;
}
///////////////////////////////////////////////////////
forward Registracija1(playerid);
public Registracija1(playerid)
{
   KillTimer(IntroTimer[playerid]); OcistiChat(playerid,16);
   InterpolateCameraPos(playerid, 144.181472, -1956.347045, 72.092727, 979.008483, -1971.146240, 72.092727, 30000);
    InterpolateCameraLookAt(playerid, 144.274703, -1951.919433, 69.771652, 979.100097, -1966.797119, 69.627609, 30000);
   TextDrawShowForPlayer(playerid,Intro[0]); TextDrawShowForPlayer(playerid,Intro[1]);
   IntroTimer2[playerid] = SetTimerEx("Registracija2",5000, false, "i", playerid);
   return 1;
}
///////////////////////////////////////////////////////
forward Registracija2(playerid);
public Registracija2(playerid)
{
   KillTimer(IntroTimer2[playerid]); TextDrawShowForPlayer(playerid,Intro[2]);
   TextDrawShowForPlayer(playerid,Intro[3]); TextDrawShowForPlayer(playerid,Intro[4]);
   IntroTimer3[playerid] = SetTimerEx("Registracija3",5000, false, "i", playerid);
   return 1;
}
///////////////////////////////////////////////////////
forward Registracija3(playerid);
public Registracija3(playerid)
{
   KillTimer(IntroTimer3[playerid]); TextDrawShowForPlayer(playerid,Intro[5]);
   IntroTimer4[playerid] = SetTimerEx("Registracija4",5000, false, "i", playerid);
   return 1;
}
///////////////////////////////////////////////////////
forward Registracija4(playerid);
public Registracija4(playerid)
{
   KillTimer(IntroTimer4[playerid]); TextDrawShowForPlayer(playerid,Intro[6]);
    TextDrawShowForPlayer(playerid,Intro[7]); TextDrawShowForPlayer(playerid,Intro[8]);
   IntroTimer5[playerid] = SetTimerEx("Registracija5",5000, false, "i", playerid);
   return 1;
}
///////////////////////////////////////////////////////
forward Registracija5(playerid);
public Registracija5(playerid)
{
   KillTimer(IntroTimer5[playerid]); TextDrawShowForPlayer(playerid,Intro[9]);
    TextDrawShowForPlayer(playerid,Intro[10]);
   LogRegTimer[playerid] = SetTimerEx("LogReg",12000, false, "i", playerid);
   return 1;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////
forward LogReg(playerid);
public LogReg(playerid)
{
   KillTimer(LogRegTimer[playerid]); SetPlayerHealth(playerid, 99.0); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0);


obrisani nepotrebni postovi, zabranjen bump ako je od zadnje poruke 24h u toj temi + nisi postavio dobro :)
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci