Tutorial
#1

how can i make tutorial with dialog and a buton ""next" and next tutorial comes up..

PHP код:
            if(TutTime[i] >= 1)
                    {
                        
TutTime[i] += 1;
                        if(
TutTime[i] == 3)
                        {
                            
SetPlayerCameraPos(i,1476.2671,-1774.8066,113.8872);
                            
SetPlayerCameraLookAt(i,1477.8811,-1688.0593,14.0469);
                            
SetPlayerInterior(i,0);
                            
GameTextForPlayer(i" ~w~ Inceputul "1000,1);
                            
SendClientMessage(iCOLOR_LIGHTBLUE"|___Tutorial: Inceput___|");
                            
SendClientMessage(iCOLOR_WHITE"Salut, vad ca esti nou, asa ca iti voi prezenta un toturial scurt.");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Orice player nou trebuie sa stie ce el/ea, poate si ce nu poate face.");
                            
SendClientMessage(iCOLOR_YELLOW"O sa-ti dau niste informatii, asa ca te rog acorda-le atentie.");
                        }
                        else if(
TutTime[i] == 6)
                        {
                            
SendClientMessage(iCOLOR_LIGHTBLUE"|___Tutorial: Despre server___|");
                            
GameTextForPlayer(i" ~w~ Despre server "1000,1);
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Acest server se bazeaza pe modul RPG!.");
                            
SendClientMessage(iCOLOR_YELLOW"Jucatorii care vin sa se distreze pe seama deathmatch-ului vor fi sanctionati.");
                            
SendClientMessage(iCOLOR_WHITE"Numele tau conteaza foarte mult.");
                            
SendClientMessage(iCOLOR_YELLOW"Decieste mai bine sa ai un nume scurt si usor de citit. Ex: Ionutz");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Daca vrei sa aflii mai multe viziteaza forumul nostru si intra in categoria Union-Zone Official Server your Second Life SAMP");
                            
SendClientMessage(iCOLOR_WHITE"(Forumul este {www.union-zone.eu}.");
                        }
                        else if(
TutTime[i] == 9)
                        {
                            
SendClientMessage(iCOLOR_LIGHTBLUE"|___Tutorial: Ajutor___|");
                            
SetPlayerCameraPos(i,307.8033,-1598.9034,114.4219);
                            
SetPlayerCameraLookAt(i,394.2175,-1530.0784,32.2734);
                            
GameTextForPlayer(i" ~w~ Ajutor "1000,1);
                            
SendClientMessage(iCOLOR_WHITE"Daca nu intelegi ceva poti contacta un admin sau GM.");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Pentru a vedea admini si GM poti scrie /admins sau /gmon.");
                            
SendClientMessage(iCOLOR_WHITE"Poti folosi urmatoarea intrebare: Salut ma poti ajuta si pe mine cu...?");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Nu cauza conflicte pe server, vei fi privit urat de ceilalti jucatori.");
                            
SendClientMessage(iCOLOR_WHITE"Daca ajungi intr-un conflict, incerca sa il inchizi, asa te vei feri de o sanctiune.");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Foloseste comenzile /mail /sms (Daca ai numar de telefon) pentru a vorbi cu cineva.");
                        }
                        else if(
TutTime[i] == 12)
                        {
                            
SendClientMessage(iCOLOR_YELLOW"|___Tutorial: Coduri si abuz___|");
                            
GameTextForPlayer(i" ~w~ Coduri si abuz "1000,1);
                            
SendClientMessage(iCOLOR_WHITE"Codurile nu sunt permise pe server, daca cineva foloseste va fi banat.");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"De accea nu dorim folosirea codurilor.");
                            
SendClientMessage(iCOLOR_WHITE"Daca cineva foloseste cod reporteaza-l la un admin folosind comanda /report.");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Abuzul de bug sau de altceva in scop personal este de asemenea considerat cod, deci ban permanent.");
                            
SendClientMessage(iCOLOR_WHITE"Incerca sa joci corent, este mai placut si mai distractiv.");
                        }
                        else if(
TutTime[i] == 15)
                        {
                            
SendClientMessage(iCOLOR_YELLOW"|___Tutorial: Limbaj & Reclama___|");
                            
SetPlayerCameraPos(i,1334.2651,-959.9299,142.7608);
                            
SetPlayerCameraLookAt(i,1411.1090,-809.9825,75.4482);
                            
GameTextForPlayer(i" ~w~ Limbaj & Reclama "1000,1);
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Dorim sa folosesti limba romanda, doar suntem romani.");
                            
SendClientMessage(iCOLOR_WHITE"Daca vrei sa vorbesti cu cineva pe limba ta, folosete /mail sau /sms.");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Publicitatea este INTERZISA, te va conduce direct spre ban.");
                            
SendClientMessage(iCOLOR_WHITE"Deasemenea,sunteti obligati sa cititi pe forum si celelante reguli legate de RPG!.");
                        }
                        else if(
TutTime[i] == 18)
                        {
                            
SendClientMessage(iCOLOR_LIGHTBLUE"|___Tutorial: Sfarsit___|");
                            
GameTextForPlayer(i" ~w~ Sfarsit "1000,1);
                            
SendClientMessage(iCOLOR_WHITE"Am terminat, Tutorial.");
                            
SendClientMessage(iCOLOR_YELLOW"Doar tinetile minte si distrati-va!");
                            
SendClientMessage(iCOLOR_WHITE"Salutari de la echipa  Romania SA:MP Server. Sa aveti noroc si distrati-va.");
                            
SendClientMessage(iCOLOR_LIGHTBLUE"Conturi MULTIPLE : BAN PERMANENT!!");
                            
SendClientMessage(iCOLOR_YELLOW"|=============|SFARSIT|=============|");
                        }
                        else if(
TutTime[i] == 21)
                        {
                            
TutTime[i] = 0PlayerInfo[i][pTut] = 1;
                            
gOoc[i] = 0gNews[i] = 0gFam[i] = 0;
                            
TogglePlayerControllable(i1);
                            
MedicBill[i] = 0;
                            
SetPlayerSpawn(i);
                            
SetCameraBehindPlayer(i);
                        }
                    } 
Reply
#2

move all this into a dialog responce and make a dialog to show ...but it wont look right well it may look fine ...it may be better to stuff it into an onplayerclicktextdraw and have a little next text draw
Reply
#3

i click next nd nothing happens...message appears and nothing can i make it MSG_BOX??



PHP код:
                            TutTime[playerid] = 3;
                                
OnPlayerUpdateEx(playerid);
                                
SetPlayerCameraPos(playerid,1476.2671,-1774.8066,113.8872);
                                
SetPlayerCameraLookAt(playerid,1477.8811,-1688.0593,14.0469);
                                
SetPlayerInterior(playerid,0);
                                
GameTextForPlayer(playerid" ~w~ Inceputul "1000,1);
                                
strcat(tutdialogstring,"{FFFFFF}|___Tutorial: Inceput___|\n");
                                
strcat(tutdialogstring,"{FFFFFF}Salut, vad ca esti nou, asa ca iti voi prezenta un toturial scurt.\n");
                                
strcat(tutdialogstring,"{FFFFFF}Orice player nou trebuie sa stie ce el/ea, poate si ce nu poate face.\n");
                                
strcat(tutdialogstring,"{FFFFFF}O sa-ti dau niste informatii, asa ca te rog acorda-le atentie.\n");
                                
ShowPlayerDialog(playerid,53,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                    }
//after this tutorial comes up
                    
if( dialogid == 53)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,53,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 4;//i put 3 or leave it a 3?
                                
strcat(tutdialogstring,"|___Tutorial: Despre server___|");
                                
GameTextForPlayer(playerid" ~w~ Despre server "1000,1);
                                
strcat(tutdialogstring,"{FFFFFF}Acest server se bazeaza pe modul RPG!.");
                                
strcat(tutdialogstring,"{FFFFFF}Jucatorii care vin sa se distreze pe seama deathmatch-ului vor fi sanctionati.\n");
                                
strcat(tutdialogstring,"{FFFFFF}Numele tau conteaza foarte mult.\n");
                                
strcat(tutdialogstring,"{FFFFFF}Decieste mai bine sa ai un nume scurt si usor de citit. Ex: Ionutz\n");
                                
strcat(tutdialogstring,"{FFFFFF}Daca vrei sa aflii mai multe viziteaza forumul nostru si intra in categoria Union-Zone Official Server your Second Life SAMP\n");
                                
strcat(tutdialogstring,"{FFFFFF}(Forumul este {www.union-zone.eu}.\n");
                                
ShowPlayerDialog(playerid,54,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    if( 
dialogid == 54)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,54,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 3;
                                
strcat(tutdialogstring,"|___Tutorial: Ajutor___|\n");
                                
SetPlayerCameraPos(playerid,307.8033,-1598.9034,114.4219);
                                
SetPlayerCameraLookAt(playerid,394.2175,-1530.0784,32.2734);
                                
GameTextForPlayer(playerid" ~w~ Ajutor "1000,1);
                                
strcat(tutdialogstring,"Daca nu intelegi ceva poti contacta un admin sau GM.\n");
                                
strcat(tutdialogstring,"Pentru a vedea admini si GM poti scrie /admins sau /gmon.\n");
                                
strcat(tutdialogstring,"Poti folosi urmatoarea intrebare: Salut ma poti ajuta si pe mine cu...?\n");
                                
strcat(tutdialogstring,"Nu cauza conflicte pe server, vei fi privit urat de ceilalti jucatori.\n");
                                
strcat(tutdialogstring,"Daca ajungi intr-un conflict, incerca sa il inchizi, asa te vei feri de o sanctiune.\n");
                                
strcat(tutdialogstring,"Foloseste comenzile /mail /sms (Daca ai numar de telefon) pentru a vorbi cu cineva.\n");
                                
ShowPlayerDialog(playerid,55,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    if( 
dialogid == 55)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,55,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 3;
                                
strcat(tutdialogstring,"|___Tutorial: Coduri si abuz___|\n");
                                
GameTextForPlayer(playerid" ~w~ Coduri si abuz "1000,1);
                                
strcat(tutdialogstring,"Codurile nu sunt permise pe server, daca cineva foloseste va fi banat.\n");
                                
strcat(tutdialogstring,"De accea nu dorim folosirea codurilor.\n");
                                
strcat(tutdialogstring,"Daca cineva foloseste cod reporteaza-l la un admin folosind comanda /report.\n");
                                
strcat(tutdialogstring,"Abuzul de bug sau de altceva in scop personal este de asemenea considerat cod, deci ban permanent.");
                                
strcat(tutdialogstring,"Incerca sa joci corent, este mai placut si mai distractiv.\n");
                                
ShowPlayerDialog(playerid,56,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    if( 
dialogid == 56)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,56,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 3;
                                
strcat(tutdialogstring,"|___Tutorial: Limbaj & Reclama___|\n");
                                
SetPlayerCameraPos(playerid,1334.2651,-959.9299,142.7608);
                                
SetPlayerCameraLookAt(playerid,1411.1090,-809.9825,75.4482);
                                
GameTextForPlayer(playerid" ~w~ Limbaj & Reclama "1000,1);
                                
strcat(tutdialogstring,"Dorim sa folosesti limba romanda, doar suntem romani.\n");
                                
strcat(tutdialogstring,"Daca vrei sa vorbesti cu cineva pe limba ta, folosete /mail sau /sms.\n");
                                
strcat(tutdialogstring,"Publicitatea este INTERZISA, te va conduce direct spre ban.\n");
                                
strcat(tutdialogstring,"Deasemenea,sunteti obligati sa cititi pe forum si celelante reguli legate de RPG!.\n");
                                
ShowPlayerDialog(playerid,57,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    
                    if( 
dialogid == 57)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,57,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 3;
                                
strcat(tutdialogstring,"|___Tutorial: Sfarsit___|\n");
                                
GameTextForPlayer(playerid" ~w~ Sfarsit "1000,1);
                                
strcat(tutdialogstring,"Am terminat, Tutorial.\n");
                                
strcat(tutdialogstring,"Doar tinetile minte si distrati-va!\n");
                                
strcat(tutdialogstring,"Salutari de la echipa  Romania SA:MP Server. Sa aveti noroc si distrati-va.\n");
                                
strcat(tutdialogstring,"Conturi MULTIPLE : BAN PERMANENT!!\n");
                                
strcat(tutdialogstring,"|=============|SFARSIT|=============|");
                                
ShowPlayerDialog(playerid,58,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    
                    if( 
dialogid == 58)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 0PlayerInfo[playerid][pTut] = 1;
                                
gOoc[playerid] = 0gNews[playerid] = 0gFam[playerid] = 0;
                                
TogglePlayerControllable(playerid1);
                                
MedicBill[playerid] = 0;
                                
SetPlayerSpawn(playerid);
                                
SetCameraBehindPlayer(playerid);
                            }
                        }
                    } 
Reply
#4

yeah change all the DIALOG_STYLE_LIST to DIALOG_STYLE_MSGBOX
p.s. list you need to have it respond to a listitem
Reply
#5

but then the message to wait doesent come i click next..you need to wait 2 seconds..
Reply
#6

Quote:
Originally Posted by NumbSkull
Посмотреть сообщение
it may be better to stuff it into an onplayerclicktextdraw and have a little next text draw
what he said
Reply
#7

but i dont want textdraw..
Reply
#8

look i type next then this message appearsYou need to wait 2 seconds to go to the next tutorial !) - then nothing happens i want to be that dialog again..+REP!!who helps me make it!
Reply
#9

if you want to make it "when you type next" why didnt you say so you said you wanted a dialog box xD
pawn Код:
OnPlayerText(playerid, text)
{
if(strfind(text, "next", true) != -1)
    {
                            if(TutTime[i] == 3)
                        {
                            SetPlayerCameraPos(i,1476.2671,-1774.8066,113.8872);
                            SetPlayerCameraLookAt(i,1477.8811,-1688.0593,14.0469);
                            SetPlayerInterior(i,0);
                            GameTextForPlayer(i, " ~w~ Inceputul ", 1000,1);
                            SendClientMessage(i, COLOR_LIGHTBLUE, "|___Tutorial: Inceput___|");
                            SendClientMessage(i, COLOR_WHITE, "Salut, vad ca esti nou, asa ca iti voi prezenta un toturial scurt.");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Orice player nou trebuie sa stie ce el/ea, poate si ce nu poate face.");
                            SendClientMessage(i, COLOR_YELLOW, "O sa-ti dau niste informatii, asa ca te rog acorda-le atentie.");
                            TutTime[i] = 6;
                        }
                        else if(TutTime[i] == 6)
                        {
                            SendClientMessage(i, COLOR_LIGHTBLUE, "|___Tutorial: Despre server___|");
                            GameTextForPlayer(i, " ~w~ Despre server ", 1000,1);
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Acest server se bazeaza pe modul RPG!.");
                            SendClientMessage(i, COLOR_YELLOW, "Jucatorii care vin sa se distreze pe seama deathmatch-ului vor fi sanctionati.");
                            SendClientMessage(i, COLOR_WHITE, "Numele tau conteaza foarte mult.");
                            SendClientMessage(i, COLOR_YELLOW, "Decieste mai bine sa ai un nume scurt si usor de citit. Ex: Ionutz");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Daca vrei sa aflii mai multe viziteaza forumul nostru si intra in categoria Union-Zone Official Server your Second Life SAMP");
                            SendClientMessage(i, COLOR_WHITE, "(Forumul este {www.union-zone.eu}.");
                            TutTime[i] = 9;
                        }
                        else if(TutTime[i] == 9)
                        {
                            SendClientMessage(i, COLOR_LIGHTBLUE, "|___Tutorial: Ajutor___|");
                            SetPlayerCameraPos(i,307.8033,-1598.9034,114.4219);
                            SetPlayerCameraLookAt(i,394.2175,-1530.0784,32.2734);
                            GameTextForPlayer(i, " ~w~ Ajutor ", 1000,1);
                            SendClientMessage(i, COLOR_WHITE, "Daca nu intelegi ceva poti contacta un admin sau GM.");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Pentru a vedea admini si GM poti scrie /admins sau /gmon.");
                            SendClientMessage(i, COLOR_WHITE, "Poti folosi urmatoarea intrebare: Salut ma poti ajuta si pe mine cu...?");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Nu cauza conflicte pe server, vei fi privit urat de ceilalti jucatori.");
                            SendClientMessage(i, COLOR_WHITE, "Daca ajungi intr-un conflict, incerca sa il inchizi, asa te vei feri de o sanctiune.");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Foloseste comenzile /mail /sms (Daca ai numar de telefon) pentru a vorbi cu cineva.");
                            TutTime[i] = 12;
                        }
                        else if(TutTime[i] == 12)
                        {
                            SendClientMessage(i, COLOR_YELLOW, "|___Tutorial: Coduri si abuz___|");
                            GameTextForPlayer(i, " ~w~ Coduri si abuz ", 1000,1);
                            SendClientMessage(i, COLOR_WHITE, "Codurile nu sunt permise pe server, daca cineva foloseste va fi banat.");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "De accea nu dorim folosirea codurilor.");
                            SendClientMessage(i, COLOR_WHITE, "Daca cineva foloseste cod reporteaza-l la un admin folosind comanda /report.");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Abuzul de bug sau de altceva in scop personal este de asemenea considerat cod, deci ban permanent.");
                            SendClientMessage(i, COLOR_WHITE, "Incerca sa joci corent, este mai placut si mai distractiv.");
                            TutTime[i] = 15;
                        }
                        else if(TutTime[i] == 15)
                        {
                            SendClientMessage(i, COLOR_YELLOW, "|___Tutorial: Limbaj & Reclama___|");
                            SetPlayerCameraPos(i,1334.2651,-959.9299,142.7608);
                            SetPlayerCameraLookAt(i,1411.1090,-809.9825,75.4482);
                            GameTextForPlayer(i, " ~w~ Limbaj & Reclama ", 1000,1);
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Dorim sa folosesti limba romanda, doar suntem romani.");
                            SendClientMessage(i, COLOR_WHITE, "Daca vrei sa vorbesti cu cineva pe limba ta, folosete /mail sau /sms.");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Publicitatea este INTERZISA, te va conduce direct spre ban.");
                            SendClientMessage(i, COLOR_WHITE, "Deasemenea,sunteti obligati sa cititi pe forum si celelante reguli legate de RPG!.");
                            TutTime[i] = 18;
                        }
                        else if(TutTime[i] == 18)
                        {
                            SendClientMessage(i, COLOR_LIGHTBLUE, "|___Tutorial: Sfarsit___|");
                            GameTextForPlayer(i, " ~w~ Sfarsit ", 1000,1);
                            SendClientMessage(i, COLOR_WHITE, "Am terminat, Tutorial.");
                            SendClientMessage(i, COLOR_YELLOW, "Doar tinetile minte si distrati-va!");
                            SendClientMessage(i, COLOR_WHITE, "Salutari de la echipa  Romania SA:MP Server. Sa aveti noroc si distrati-va.");
                            SendClientMessage(i, COLOR_LIGHTBLUE, "Conturi MULTIPLE : BAN PERMANENT!!");
                            SendClientMessage(i, COLOR_YELLOW, "|=============|SFARSIT|=============|");
                            TutTime[i] = 21;
                        }
                        else if(TutTime[i] == 21)
                        {
                            TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
                            gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0;
                            TogglePlayerControllable(i, 1);
                            MedicBill[i] = 0;
                            SetPlayerSpawn(i);
                            SetCameraBehindPlayer(i);
                        }
                    }
idk if you have a tumer count up the TutTime[i] var if so dont add the TutTime[i] = ##; crap i stuck in the end
p.s. if you copy paste it will give loose indentation warnings xD i made it rough in the reply box xD
Reply
#10

[QUOTE=Akcent_Voltaj;2245587]i click next nd nothing happens...message appears and nothing can i make it MSG_BOX??


this how i want..with dialog.. and the message doesent appear...please help!
PHP код:
                            TutTime[playerid] = 3;
                                
OnPlayerUpdateEx(playerid);
                                
SetPlayerCameraPos(playerid,1476.2671,-1774.8066,113.8872);
                                
SetPlayerCameraLookAt(playerid,1477.8811,-1688.0593,14.0469);
                                
SetPlayerInterior(playerid,0);
                                
GameTextForPlayer(playerid" ~w~ Inceputul "1000,1);
                                
strcat(tutdialogstring,"{FFFFFF}|___Tutorial: Inceput___|\n");
                                
strcat(tutdialogstring,"{FFFFFF}Salut, vad ca esti nou, asa ca iti voi prezenta un toturial scurt.\n");
                                
strcat(tutdialogstring,"{FFFFFF}Orice player nou trebuie sa stie ce el/ea, poate si ce nu poate face.\n");
                                
strcat(tutdialogstring,"{FFFFFF}O sa-ti dau niste informatii, asa ca te rog acorda-le atentie.\n");
                                
ShowPlayerDialog(playerid,53,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                    }
//after this tutorial comes up
                    
if( dialogid == 53)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,53,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 4;//i put 3 or leave it a 3?
                                
strcat(tutdialogstring,"|___Tutorial: Despre server___|");
                                
GameTextForPlayer(playerid" ~w~ Despre server "1000,1);
                                
strcat(tutdialogstring,"{FFFFFF}Acest server se bazeaza pe modul RPG!.");
                                
strcat(tutdialogstring,"{FFFFFF}Jucatorii care vin sa se distreze pe seama deathmatch-ului vor fi sanctionati.\n");
                                
strcat(tutdialogstring,"{FFFFFF}Numele tau conteaza foarte mult.\n");
                                
strcat(tutdialogstring,"{FFFFFF}Decieste mai bine sa ai un nume scurt si usor de citit. Ex: Ionutz\n");
                                
strcat(tutdialogstring,"{FFFFFF}Daca vrei sa aflii mai multe viziteaza forumul nostru si intra in categoria Union-Zone Official Server your Second Life SAMP\n");
                                
strcat(tutdialogstring,"{FFFFFF}(Forumul este {www.union-zone.eu}.\n");
                                
ShowPlayerDialog(playerid,54,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    if( 
dialogid == 54)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,54,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 3;
                                
strcat(tutdialogstring,"|___Tutorial: Ajutor___|\n");
                                
SetPlayerCameraPos(playerid,307.8033,-1598.9034,114.4219);
                                
SetPlayerCameraLookAt(playerid,394.2175,-1530.0784,32.2734);
                                
GameTextForPlayer(playerid" ~w~ Ajutor "1000,1);
                                
strcat(tutdialogstring,"Daca nu intelegi ceva poti contacta un admin sau GM.\n");
                                
strcat(tutdialogstring,"Pentru a vedea admini si GM poti scrie /admins sau /gmon.\n");
                                
strcat(tutdialogstring,"Poti folosi urmatoarea intrebare: Salut ma poti ajuta si pe mine cu...?\n");
                                
strcat(tutdialogstring,"Nu cauza conflicte pe server, vei fi privit urat de ceilalti jucatori.\n");
                                
strcat(tutdialogstring,"Daca ajungi intr-un conflict, incerca sa il inchizi, asa te vei feri de o sanctiune.\n");
                                
strcat(tutdialogstring,"Foloseste comenzile /mail /sms (Daca ai numar de telefon) pentru a vorbi cu cineva.\n");
                                
ShowPlayerDialog(playerid,55,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    if( 
dialogid == 55)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,55,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 3;
                                
strcat(tutdialogstring,"|___Tutorial: Coduri si abuz___|\n");
                                
GameTextForPlayer(playerid" ~w~ Coduri si abuz "1000,1);
                                
strcat(tutdialogstring,"Codurile nu sunt permise pe server, daca cineva foloseste va fi banat.\n");
                                
strcat(tutdialogstring,"De accea nu dorim folosirea codurilor.\n");
                                
strcat(tutdialogstring,"Daca cineva foloseste cod reporteaza-l la un admin folosind comanda /report.\n");
                                
strcat(tutdialogstring,"Abuzul de bug sau de altceva in scop personal este de asemenea considerat cod, deci ban permanent.");
                                
strcat(tutdialogstring,"Incerca sa joci corent, este mai placut si mai distractiv.\n");
                                
ShowPlayerDialog(playerid,56,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    if( 
dialogid == 56)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,56,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 3;
                                
strcat(tutdialogstring,"|___Tutorial: Limbaj & Reclama___|\n");
                                
SetPlayerCameraPos(playerid,1334.2651,-959.9299,142.7608);
                                
SetPlayerCameraLookAt(playerid,1411.1090,-809.9825,75.4482);
                                
GameTextForPlayer(playerid" ~w~ Limbaj & Reclama "1000,1);
                                
strcat(tutdialogstring,"Dorim sa folosesti limba romanda, doar suntem romani.\n");
                                
strcat(tutdialogstring,"Daca vrei sa vorbesti cu cineva pe limba ta, folosete /mail sau /sms.\n");
                                
strcat(tutdialogstring,"Publicitatea este INTERZISA, te va conduce direct spre ban.\n");
                                
strcat(tutdialogstring,"Deasemenea,sunteti obligati sa cititi pe forum si celelante reguli legate de RPG!.\n");
                                
ShowPlayerDialog(playerid,57,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    
                    if( 
dialogid == 57)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                
ShowPlayerDialog(playerid,57,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 3;
                                
strcat(tutdialogstring,"|___Tutorial: Sfarsit___|\n");
                                
GameTextForPlayer(playerid" ~w~ Sfarsit "1000,1);
                                
strcat(tutdialogstring,"Am terminat, Tutorial.\n");
                                
strcat(tutdialogstring,"Doar tinetile minte si distrati-va!\n");
                                
strcat(tutdialogstring,"Salutari de la echipa  Romania SA:MP Server. Sa aveti noroc si distrati-va.\n");
                                
strcat(tutdialogstring,"Conturi MULTIPLE : BAN PERMANENT!!\n");
                                
strcat(tutdialogstring,"|=============|SFARSIT|=============|");
                                
ShowPlayerDialog(playerid,58,DIALOG_STYLE_LIST,"Title",tutdialogstring,"Next","");
                            }
                        }
                    }
                    
                    if( 
dialogid == 58)
                    {
                        if(
response)
                        {
                            if(
TutTime[playerid]==0)
                            {
                                
SendClientMessage(playerid,COLOR_RED,"You need to wait 2 seconds to go to the next tutorial !");
                                return 
0;
                            }
                            else
                            {
                                
TutTime[playerid] = 0PlayerInfo[playerid][pTut] = 1;
                                
gOoc[playerid] = 0gNews[playerid] = 0gFam[playerid] = 0;
                                
TogglePlayerControllable(playerid1);
                                
MedicBill[playerid] = 0;
                                
SetPlayerSpawn(playerid);
                                
SetCameraBehindPlayer(playerid);
                            }
                        }
                    } 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)