Detaljan opis problema:Zašto u skripti piše da ima /tuturial a kad ukucam u serveru nema?
Dio skripte:Tuturijal textovi:
forward TextDrawTutorijal1(playerid);
public TextDrawTutorijal1(playerid)
{
//new string;
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 1035.4961,-897.0649,-65.1593); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 1035.4961,-897.0649,65.1593); SetPlayerCameraLookAt(playerid, 1064.4214,-896.6122,48.4414);
SetPlayerTime(playerid, 23, 0);PlayerPlaySound(playerid, 1187 , 1423.9163,-1045.7621,30.2719);
for(new chat = 0; chat <= 50; chat++)
TutorialPocetak = TextDrawCreate(237.000000, 156.000000, "~g~Tutorijal - ~r~Pocetak");
TextDrawBackgroundColor(TutorialPocetak, 255);
TextDrawFont(TutorialPocetak, 0);
TextDrawLetterSize(TutorialPocetak, 0.610000, 2.000000);
TextDrawColor(TutorialPocetak, -1);
TextDrawSetOutline(TutorialPocetak, 0);
TextDrawSetProportional(TutorialPocetak, 1);
TextDrawSetShadow(TutorialPocetak, 1);
Dobrodoslica = TextDrawCreate(65.000000, 176.000000, "~y~Dobrodosli na Noxicus RolePlay! Nadamo se da cete se lijepo provesti na nasem serveru.");
TextDrawBackgroundColor(Dobrodoslica, 255);
TextDrawFont(Dobrodoslica, 1);
TextDrawLetterSize(Dobrodoslica, 0.319999, 1.600000);
TextDrawColor(Dobrodoslica, -1);
TextDrawSetOutline(Dobrodoslica, 0);
TextDrawSetProportional(Dobrodoslica, 1);
TextDrawSetShadow(Dobrodoslica, 1);
Molbaza = TextDrawCreate(65.000000, 192.000000, "~y~Zamolicemo Vas da pregledate naredni tutorijal sa strpljenjem.");
TextDrawBackgroundColor(Molbaza, 255);
TextDrawFont(Molbaza, 1);
TextDrawLetterSize(Molbaza, 0.319999, 1.600000);
TextDrawColor(Molbaza, -1);
TextDrawSetOutline(Molbaza, 0);
TextDrawSetProportional(Molbaza, 1);
TextDrawSetShadow(Molbaza, 1);
Tutorialtext1 = TextDrawCreate(65.000000, 209.000000, "~y~Zamolicemo Vas da pregledate naredni tutorijal sa strpljenjem.");
TextDrawBackgroundColor(Tutorialtext1, 255);
TextDrawFont(Tutorialtext1, 1);
TextDrawLetterSize(Tutorialtext1, 0.319999, 1.600000);
TextDrawColor(Tutorialtext1, -1);
TextDrawSetOutline(Tutorialtext1, 0);
TextDrawSetProportional(Tutorialtext1, 1);
TextDrawSetShadow(Tutorialtext1, 1);
Tutorialtext2 = TextDrawCreate(65.000000, 227.000000, "~y~Zamolicemo Vas da pregledate naredni tutorijal sa strpljenjem.");
TextDrawBackgroundColor(Tutorialtext2, 255);
TextDrawFont(Tutorialtext2, 1);
TextDrawLetterSize(Tutorialtext2, 0.319999, 1.600000);
TextDrawColor(Tutorialtext2, -1);
TextDrawSetOutline(Tutorialtext2, 0);
TextDrawSetProportional(Tutorialtext2, 1);
TextDrawSetShadow(Tutorialtext2, 1);
SendClientMessage(playerid, COLOR_YELLOW, " ");
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
PlayerPlaySound(playerid, 1187 , 1035.4961,-897.0649,-65.1593);
SetTimerEx("TextDrawTutorijal2",12000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal2(playerid);
public TextDrawTutorijal2(playerid)
{
new string;
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 1297.4677,-976.7095,-148.6437); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 1297.4677,-976.7095,148.6437); SetPlayerCameraLookAt(playerid, 1208.6104,-1047.2242,118.3534);
SetPlayerTime(playerid, 23, 0);
PlayerPlaySound(playerid, 1187 , 1297.4677,-976.7095,-148.6437);
for(new chat = 0; chat <= 50; chat++)
SendClientMessage(playerid, COLOR_YELLOW, " ");
format(string,sizeof(string), "~g~Tutorijal - ~r~Varanje");
TextDrawSetString(TutorialPocetak, string);
format(string,sizeof(string), "~y~Svaka prednost nad drugim igracima stecena neposteno smatra se varanjem/cheatenjem.");
TextDrawSetString(Dobrodoslica, string);
format(string,sizeof(string), "~y~Takodje svako iskoristavanje bugova/greski se smatra varanjem/cheatenjem.");
TextDrawSetString(Molbaza, string);
format(string,sizeof(string), "~y~Kaznjivo je vrijedjanje kao i reklamiranje. Postujte ova tri pravila ukoliko ne zelite biti protjerani!");
TextDrawSetString(Tutorialtext1, string);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
SetTimerEx("TextDrawTutorijal3",12000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal3(playerid);
public TextDrawTutorijal3(playerid)
{
new string;
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 870.1679,-1145.1193,-23.8528); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 870.1679,-1145.1193,23.8528); SetPlayerCameraLookAt(playerid, 893.6463,-1145.0802,23.8822);
SetPlayerTime(playerid, 23, 0);
PlayerPlaySound(playerid, 1187 , 870.1679,-1145.1193,-23.8528);
for(new chat = 0; chat <= 50; chat++)
SendClientMessage(playerid, COLOR_YELLOW, " ");
format(string,sizeof(string), "~g~Tutorijal - ~r~Pravila");
TextDrawSetString(TutorialPocetak, string);
format(string,sizeof(string), "~y~Ovo je iskljucivo Role Play server, sto znaci da je pozeljno ponasati se u skladu sa Real Life pravilima.");
TextDrawSetString(Dobrodoslica, string);
format(string,sizeof(string), "~y~Treba izbjegavati radnje neizvodljive u Real Life, ukoliko ne zelite biti kaznjeni. Najcesci oblici kazne su:");
TextDrawSetString(Molbaza, string);
format(string,sizeof(string), "~y~Area, warn, jail, usutkivanje, kick, a u krajnjim granicama kazna moze biti cak i ban!");
TextDrawSetString(Tutorialtext1, string);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
SetTimerEx("TextDrawTutorijal4",10000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal4(playerid);
public TextDrawTutorijal4(playerid)
{
new string;
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 1265.0597,-1529.2328,-62.4249); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 1265.0597,-1529.2328,62.4249); SetPlayerCameraLookAt(playerid, 1314.5819,-1495.5293,82.3117);
SetPlayerTime(playerid, 23, 0);
PlayerPlaySound(playerid, 1187 , 1265.0597,-1529.2328,-62.4249);
for(new chat = 0; chat <= 50; chat++)
SendClientMessage(playerid, COLOR_YELLOW, " ");
format(string,sizeof(string), "~g~Tutorijal - ~r~Pravila");
TextDrawSetString(TutorialPocetak, string);
format(string,sizeof(string), "~y~Uskoro cemo navesti neka od Role Play pravila. Molimo Vas da obratite paznju,");
TextDrawSetString(Dobrodoslica, string);
format(string,sizeof(string), "~y~jer cemo Vam postaviti nekoliko pitanja u vezi ovih pravila na kraju tutorijala.");
TextDrawSetString(Molbaza, string);
format(string,sizeof(string), "~y~Zamolicemo vas da obratite paznju na sljedeca pravila:");
TextDrawSetString(Tutorialtext1, string);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
SetTimerEx("TextDrawTutorijal5",10000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal5(playerid);
public TextDrawTutorijal5(playerid)
{
new string;
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 1479.3955,-998.8502,-102.5737); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 1479.3955,-998.8502,102.5737); SetPlayerCameraLookAt(playerid, 1626.6847,-1016.4122,86.7403);
SetPlayerTime(playerid, 23, 0);
PlayerPlaySound(playerid, 1187 , 1479.3955,-998.8502,-102.5737);
for(new chat = 0; chat <= 50; chat++)
SendClientMessage(playerid, COLOR_YELLOW, " ");
format(string,sizeof(string), "~g~Tutorijal - ~r~Meta Gaming");
TextDrawSetString(TutorialPocetak, string);
format(string,sizeof(string), "~y~Ovo je jedno od najbitnijih pravila koja se ticu RolePlaya. Preksaj ovog pravila moze rezultirati warnom.");
TextDrawSetString(Dobrodoslica, string);
format(string,sizeof(string), "~y~Meta Gaming je mijesanje OOC i IC chata. OOC chat je chat nevezan za igru, vec za RL,");
TextDrawSetString(Molbaza, string);
format(string,sizeof(string), "~y~dok je IC vezan samo za igru. OOC se najcesce oznacava sa (()) zagradama.");
TextDrawSetString(Tutorialtext1, string);
format(string,sizeof(string), "~y~Area je free zona sto znaci da tu smijete raditi Meta Gaming.");
TextDrawSetString(Tutorialtext2, string);
TextDrawShowForPlayer(playerid, Tutorialtext2);
TextDrawShowForPlayer(playerid, Molbaza);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
SetTimerEx("TextDrawTutorijal6",13000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal6(playerid);
public TextDrawTutorijal6(playerid)
{
SetPlayerInterior(playerid, 0);new string;
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 1535.9584, -1676.1428, 18.3828); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraLookAt(playerid, 1553.7861, -1676.4270, 16.1953);
SetPlayerTime(playerid, 23, 0);
PlayerPlaySound(playerid, 1187 , 1535.9584, -1676.1428, 18.3828);
for(new chat = 0; chat <= 50; chat++)
SendClientMessage(playerid, COLOR_YELLOW, " ");
TextDrawHideForPlayer(playerid, Tutorialtext2);
format(string,sizeof(string), "~g~Tutorijal - ~r~Power Gaming");
TextDrawSetString(TutorialPocetak, string);
format(string,sizeof(string), "~y~Power Gaming je ustvari radnja neizvodiva u Real Life. Primjer PG-a je: ~b~/me dize zgradu.");
TextDrawSetString(Dobrodoslica, string);
format(string,sizeof(string), "~y~Ovo je ekstremni primjeri i nadamo se da cete postovati ovo pravilo, jer kazne su iste kao i za");
TextDrawSetString(Molbaza, string);
format(string,sizeof(string), "~y~prekrsaj MG-a. I za PG vrijedi pravilo slobode u Arei.");
TextDrawSetString(Tutorialtext1, string);
TextDrawShowForPlayer(playerid, Molbaza);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
SetTimerEx("TextDrawTutorijal7",15000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal7(playerid);
public TextDrawTutorijal7(playerid)
{
SetPlayerInterior(playerid, 0);new string;
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 1110.8457,-842.3472,-107.4688); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 1110.8457,-842.3472,107.4688); SetPlayerCameraLookAt(playerid,1159.2128,-902.1052,83.2253);
SetPlayerTime(playerid, 23, 0);PlayerPlaySound(playerid, 1187 , 1110.8457,-842.3472,-107.4688);
for(new chat = 0; chat <= 50; chat++)
SendClientMessage(playerid, COLOR_YELLOW, " ");
TextDrawHideForPlayer(playerid, Tutorialtext2);
format(string,sizeof(string), "~g~Tutorijal - ~r~Reklamiranje");
TextDrawSetString(TutorialPocetak, string);
format(string,sizeof(string), "~y~Ovo je strogo zabranjeno! Reklamiranje bilo cega(servera, kupovnih artikala i sl.)kaznjava se banom!");
TextDrawSetString(Dobrodoslica, string);
format(string,sizeof(string), "~y~Samo spominjanje nekog drugog servera moze vas dovesti do bana, zato izbjegavajte spominjanje");
TextDrawSetString(Molbaza, string);
format(string,sizeof(string), "~y~servera da ne biste bili protjerani /banovani.");
TextDrawSetString(Tutorialtext1, string);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
SetTimerEx("TextDrawTutorijal8",15000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal8(playerid);
public TextDrawTutorijal8(playerid)
{
new string;
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 1110.8457,-842.3472,-2.4688); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 1110.8457,-842.3472,107.4688); SetPlayerCameraLookAt(playerid, 1159.2128,-902.1052,83.2253);
SetPlayerTime(playerid, 23, 0);PlayerPlaySound(playerid, 1187 , 1110.8457,-842.3472,-2.4688);
for(new chat = 0; chat <= 50; chat++)
SendClientMessage(playerid, COLOR_YELLOW, " ");
TextDrawHideForPlayer(playerid, Tutorialtext2);
format(string,sizeof(string), "~g~Tutorijal - ~r~Jezik");
TextDrawSetString(TutorialPocetak, string);
format(string,sizeof(string), "~y~Molimo Vas da koristite iskljucivo Hrvatski/Bosanski/Srpski jezik. Ko bude pokusao da razgovara");
TextDrawSetString(Dobrodoslica, string);
format(string,sizeof(string), "~y~drugim jezikom zavrsice ustukivanjem. Takodje je zabranjeno vrijedjanje na bilo kojoj osnovi,");
TextDrawSetString(Molbaza, string);
format(string,sizeof(string), "~y~jer mozete zavrsiti banovani. Moguce je koristiti i Engleski jezik.");
TextDrawSetString(Tutorialtext1, string);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
SetTimerEx("TextDrawTutorijal9",14000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal9(playerid);
public TextDrawTutorijal9(playerid)
{
new string;
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
SetPlayerVirtualWorld(playerid, 3475);
SetPlayerPos(playerid, 1383.4784,-1386.0437,-2.3628); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 1383.4784,-1386.0437,52.3628); SetPlayerCameraLookAt(playerid, 1395.4282,-1402.5630,38.0167);
SetPlayerTime(playerid, 23, 0);PlayerPlaySound(playerid, 1187 , 1383.4784,-1386.0437,-2.3628);
for(new chat = 0; chat <= 50; chat++)
SendClientMessage(playerid, COLOR_YELLOW, " ");
TextDrawHideForPlayer(playerid, Tutorialtext2);
format(string,sizeof(string), "~g~Tutorijal - ~r~Zakljucak");
TextDrawSetString(TutorialPocetak, string);
format(string,sizeof(string), "~y~Ne zelimo da Vas jos zamaramo sa tutorijalom, pa cemo sada preci na pitanja.");
TextDrawSetString(Dobrodoslica, string);
format(string,sizeof(string), "~y~Nadamo se da ce Vam se dopasti ovaj server i da cete imati ugodno vrijeme na nasem");
TextDrawSetString(Molbaza, string);
format(string,sizeof(string), "~y~serveru. Ukoliko imate jos pitanja posjetite nas forum na: www.nx-rp.info,");
TextDrawSetString(Tutorialtext1, string);
format(string,sizeof(string), "~y~ili se obratite Adminima/GameMasterima za pomoc.");
TextDrawSetString(Tutorialtext2, string);
TextDrawShowForPlayer(playerid, Tutorialtext2);
TextDrawShowForPlayer(playerid, Tutorialtext1);
TextDrawShowForPlayer(playerid, TutorialPocetak);
TextDrawShowForPlayer(playerid, Dobrodoslica);
TextDrawShowForPlayer(playerid, Molbaza);
SetTimerEx("TextDrawTutorijal10",13000, false, "i", playerid);
return 1;
}
forward TextDrawTutorijal10(playerid);
public TextDrawTutorijal10(playerid)
{
SetPlayerPos(playerid, 1755.7896,-2270.8438,-2.5861); SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid, 1755.7896,-2270.8438,52.5861); SetPlayerCameraLookAt(playerid, 1711.3090,-2298.4470,47.8554);
SetPlayerTime(playerid, 23, 0);PlayerPlaySound(playerid, 1187 , 1755.7896,-2270.8438,-2.5861);
TextDrawHideForPlayer(playerid, Tutorialtext2);
TextDrawHideForPlayer(playerid, Tutorialtext1);
TextDrawHideForPlayer(playerid, TutorialPocetak);
TextDrawHideForPlayer(playerid, Dobrodoslica);
TextDrawHideForPlayer(playerid, Molbaza);
TextDrawDestroy(Tutorialtext2);TextDrawDestroy(Tutorialtext1);TextDrawDestroy(TutorialPocetak);TextDrawDestroy(Dobrodoslica); TextDrawDestroy(Molbaza);
ShowPlayerDialog(playerid,1255,DIALOG_STYLE_MSGBOX,"{0080C0}Noxicus {81C0E0}RolePlay","\t{4EFFA7} Slijede pitanja!","Uredu","");
return 1;
}Definicije:
new Text:TutorialPocetak;
new Text:Tutorialtext1;
new Text:Tutorialtext2;
new TutTime;
TutTime = 0;
SetPVarInt(playerid, "Tutorijal", 0);
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
