Tutorial
#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


Messages In This Thread
Tutorial - by Akcent_Voltaj - 28.11.2012, 18:54
Re: Tutorial - by NumbSkull - 28.11.2012, 19:21
Re: Tutorial - by Akcent_Voltaj - 28.11.2012, 20:41
Re: Tutorial - by NumbSkull - 28.11.2012, 21:09
Re: Tutorial - by Akcent_Voltaj - 28.11.2012, 21:16
Re: Tutorial - by NumbSkull - 28.11.2012, 21:19
Re: Tutorial - by Akcent_Voltaj - 28.11.2012, 21:22
Re: Tutorial - by Akcent_Voltaj - 28.11.2012, 22:41
Re: Tutorial - by NumbSkull - 29.11.2012, 00:00
Re: Tutorial - by Akcent_Voltaj - 29.11.2012, 09:32

Forum Jump:


Users browsing this thread: 1 Guest(s)