Player Registration Problem [Please Help]
#3

This what you get when you join the server, before whenyou clicked register you should get your tutorial however now when people click register it happens

PHP код:
ShowMainMenuDialog(playeridframe)
{
    new 
titlestring[64];
    new 
string[256];
    switch(
frame)
    {
        case 
1:
        {
            new 
ip[32];
            
GetPlayerIp(playeridip32);
            
format(titlestringsizeof(titlestring), "{3399FF}Login - %s"GetPlayerNameEx(playerid));
            
format(stringsizeof(string), "{FFFFFF}Welcome to Sin Life Roleplay , %s.\n\nIP Address: %s\n\nThe name that you are using is registered, please enter a password to login:"GetPlayerNameEx(playerid),  ip);
            
ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,titlestring,string,"Login","Exit");
        }
        case 
2:
        {
            new 
ip[32];
            
GetPlayerIp(playeridip32);
            
format(titlestringsizeof(titlestring), "{3399FF}Register - %s"GetPlayerNameEx(playerid));
            
format(stringsizeof(string), "{FFFFFF}Welcome to Sin Life Roleplay , %s.\n\nIP Address: %s\n\nYou may register an account by entering a desired password here:"GetPlayerNameEx(playerid),  ip);
            
ShowPlayerDialog(playerid,MAINMENU2,DIALOG_STYLE_PASSWORD,titlestring,string,"Register","Exit");
        }
        case 
3:
        {
            new 
ip[32];
            
GetPlayerIp(playeridip32);
            
format(titlestringsizeof(titlestring), "{3399FF}Login - %s"GetPlayerNameEx(playerid));
            
format(stringsizeof(string), "{FFFFFF}Invalid Password!\n\nWelcome to Sin Life Roleplay , %s.\n\nIP Address: %s\n\nThe name that you are using is registered, please enter a password to login:"GetPlayerNameEx(playerid),  ip);
            
ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,titlestring,string,"Login","Exit");
            if(
PlayerInfo[playerid][pAdmin] >= 2)
            {
                
format(STRING"WARNING: {00ff00}Bad login attempt on admin account %s! IP: %s"GetPlayerNameEx(playerid), ip);
                
ABroadCast(COLOR_LIGHTREDstring2);
            }
        }
    }

PHP код:
    if(dialogid == 10421)
    {
        if(!
responseKick(playerid);
    }
    if(
dialogid == 10422)
    {
        if(!
responseKick(playerid);
    }
    
    if(
dialogid == DIALOG_SHOW_TUTORIAL)
    {
        if(
response || !response)
        {
            if(
InsideTut[playerid] < 1)
            {
                return 
1;
            }
            switch(
TutStep[playerid])
            {
                case 
1:
                {
                    new 
str[1024];
                    
ClearChatbox(playerid);
                    
HideTutGUIFrame(playerid1);
                    
ShowTutGUIFrame(playerid2);
                    
TutStep[playerid] = 2;
                    
// Los Santos Bank (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid1457.4854,-1011.5267,26.8438);
                    
SetPlayerPos(playerid1457.4854,-1011.5267,-10.0);
                    
SetPlayerCameraPos(playerid1457.5421,-1039.4404,28.4274);
                    
SetPlayerCameraLookAt(playerid1457.4854,-1011.5267,26.8438);
                    
strcat(str"{FFFFFF}MilZ LA Roleplay has several jobs you can do across the town.\n");
                    
strcat(str"Look for the yellow i icons next to them for job information.\n");
                    
strcat(str"This is the Wells Fargo Bank. Here you can use /withdraw & /deposit to manage your $.\n");
                    
strcat(str"If you are bold you can /rob the bank! Lookout for the silent alarms and the cops!\n");
                    
strcat(str"{FF8000}Pres next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Managing Your Money"str"Next""Cancel");
                }
                case 
2:
                {
                    new 
str[1024];
                    
ClearChatbox(playerid);
                    
HideTutGUIFrame(playerid2);
                    
ShowTutGUIFrame(playerid3);
                    
TutStep[playerid] = 3;
                    
// Los Santos ATM (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid2140.5173,-1163.9576,23.9922);
                    
SetPlayerPos(playerid2140.5173,-1163.9576,-10.0);
                    
SetPlayerCameraPos(playerid2145.8252,-1159.2659,27.7218);
                    
SetPlayerCameraLookAt(playerid2140.5173,-1163.9576,23.9922);
                    
strcat(str"{FFFFFF}There are dozens of ATMs around the city of LA.\n");
                    
strcat(str"This are placed to make managing your money more convenient.\n");
                    
strcat(str"You can use /atmwithdraw and /atmdeposit.\n");
                    
strcat(str"There is a small service charge for using a ATM.\n");
                    
strcat(str"{FF8000}Pres next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Managing Your Money"str"Next""Cancel");
                }
                case 
3:
                {
                    new 
str[1024];
                    
ClearChatbox(playerid);
                    
HideTutGUIFrame(playerid3);
                    
ShowTutGUIFrame(playerid4);
                    
TutStep[playerid] = 4;
                    
// Fishing Pier (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid370.0804,-2087.8767,7.8359);
                    
SetPlayerPos(playerid370.0804,-2087.8767,-10.0);
                    
SetPlayerCameraPos(playerid423.3802,-2067.7915,29.8605);
                    
SetPlayerCameraLookAt(playerid370.0804,-2087.8767,7.8359);
                    
strcat(str"{FFFFFF}This is the fishing pier. It is located near verona beach.\n");
                    
strcat(str"Here you can use /fish to start fishing.\n");
                    
strcat(str"Each time you catch a fish you will be able to sell it and earn some money.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Making Money: Fishing"str"Next""Cancel");
                }
                case 
4:
                {
                    new 
str[1024];
                    
ClearChatbox(playerid);
                    
HideTutGUIFrame(playerid4);
                    
ShowTutGUIFrame(playerid5);
                    
TutStep[playerid] = 5;
                    
// Ganton Gym (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid2229.4968,-1722.0701,13.5625);
                    
SetPlayerPos(playerid2229.4968,-1722.0701,-10.0);
                    
SetPlayerCameraPos(playerid2211.1460,-1748.3909,29.3744);
                    
SetPlayerCameraLookAt(playerid2229.4968,-1722.0701,13.5625);
                    
strcat(str"{FFFFFF}This is the Ganton Gym. Here you can work out, box people,\n");
                    
strcat(str" or become a bodyguard. If you win a boxing match you earn $.\n");
                    
strcat(str"If you win enough matches you can become the LA Boxing Champion.\n");
                    
strcat(str"If you accept the Bodyguard job you can become peoples personal\n");
                    
strcat(str" guard. You can fix your own price to charge whatever you wish.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Bodyguard and Boxing"str"Next""Cancel");
                }
                case 
5:
                {
                    new 
str[1024];
                    
ClearChatbox(playerid);
                    
HideTutGUIFrame(playerid5);
                    
ShowTutGUIFrame(playerid6);
                    
TutStep[playerid] = 6;
                    
// Arms Dealer (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid1366.1187,-1275.1248,13.5469);
                    
SetPlayerPos(playerid1366.1187,-1275.1248,-10.0);
                    
SetPlayerCameraPos(playerid1341.2936,-1294.8105,23.3096);
                    
SetPlayerCameraLookAt(playerid1366.1187,-1275.1248,13.5469);
                    
strcat(str"{FFFFFF}This is the ammu-nation.\n Here you will find the arms dealer job.\n");
                    
strcat(str"With this job you can make your own weapons and sell them.\n");
                    
strcat(str"Before you can start making weapons and selling them you need");
                    
strcat(str" to find mats.\n There is a mats store near the pizza shop. \n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Arms Dealer"str"Next""Cancel");
                }
                case 
6:
                {
                    new 
str[1024];
                    
ClearChatbox(playerid);
                    
HideTutGUIFrame(playerid6);
                    
ShowTutGUIFrame(playerid7);
                    
TutStep[playerid] = 7;
                    
// Drugs Dealer (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid2167.5542,-1673.1503,15.0812);
                    
SetPlayerPos(playerid2167.5542,-1673.1503,-10.0);
                    
SetPlayerCameraPos(playerid2186.2607,-1693.4254,29.5406);
                    
SetPlayerCameraLookAt(playerid2167.5542,-1673.1503,15.0812);
                    
strcat(str"{FFFFFF}This is the local drug house.\n");
                    
strcat(str"With this job you can get seeds and plant drug plants.\n");
                    
strcat(str"When the plant is fully grown you can then pick it, \n and");
                    
strcat(str" then sell them to other players. You can also goto the crack\n");
                    
strcat(str" lab and get crack and sell it as well.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Drug Dealing"str"Next""Cancel");
                }
                case 
7:
                {
                    new 
str[1024];
                    
ClearChatbox(playerid);
                    
HideTutGUIFrame(playerid7);
                    
ShowTutGUIFrame(playerid8);
                    
TutStep[playerid] = 8;
                    
// Drugs Smuggler (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid59.9634,-283.6652,1.5781);
                    
SetPlayerPos(playerid59.9634,-283.6652,-10.0);
                    
SetPlayerCameraPos(playerid96.4630,-216.5790,34.2965);
                    
SetPlayerCameraLookAt(playerid59.9634,-283.6652,1.5781);
                    
strcat(str"{FFFFFF}The Smuggler job is a private job that is hidden in the city.\n");
                    
strcat(str"Doing this job you can get a lot of money, really fast.\n");
                    
strcat(str"It consists of picking up crates and delivering the contents \n");
                    
strcat(str" to drug houses around la. Be careful though, if the law catches \n");
                    
strcat(str" you running these drugs you can do hard time.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Smuggler Job"str"Next""Cancel");
                }
                case 
8:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid8);
                    
ShowTutGUIFrame(playerid9);
                    
TutStep[playerid] = 9;
                    
ClearChatbox(playerid);
                    
// LSPD (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid1554.3381,-1675.5692,16.1953);
                    
SetPlayerPos(playerid1554.3381,-1675.5692,-10.0);
                    
SetPlayerCameraPos(playerid1514.7783,-1700.2913,36.7506);
                    
SetPlayerCameraLookAt(playerid1554.3381,-1675.5692,16.1953);
                    
strcat(str"{FFFFFF}In MilZ LA Roleplay there are 2 law enforcement factions.\n");
                    
strcat(str"1. Los Angeles Police - patrols the City of Los Angeles.\n");
                    
strcat(str"2. LA County Sheriff's Office - patrols the city and county of Los Angeles.\n");
                    
strcat(str"If you break the laws you may be placed in jail and/or fined.\n");
                    
strcat(str"If you want a job in Law Enf. join Dept of Corrections @ at www.milzroleplayforums.boards.net\n");
                    
strcat(str"If you want to report a emergency, buy a cellphone and /call 911.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Law Enforcement"str"Next""Cancel");
                }
                case 
9:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid9);
                    
ShowTutGUIFrame(playerid10);
                    
TutStep[playerid] = 10;
                    
ClearChatbox(playerid);
                    
// All Saints (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,1175.5581,-1324.7922,18.1610);
                    
SetPlayerPos(playerid1188.4574,-1309.2242,-10.0);
                    
SetPlayerCameraPos(playerid,1188.4574,-1309.2242,13.5625+6.0);
                    
SetPlayerCameraLookAt(playerid,1175.5581,-1324.7922,18.1610);
                    
strcat(str"{FFFFFF}f you get injured, you can use /service ems to call for help.\n");
                    
strcat(str"If EMS saves you before you pass out you may be able to keep your");
                    
strcat(str" personal belongings without losing them.\n");
                    
strcat(str" When the LAFD is hiring they will open applications on the forums.");
                    
strcat(str" at www.milzroleplayforums.boards.net\n");
                    
strcat(str"If you want to report a emergency, buy a cellphone and /call 911.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Los Angeles Fire Department - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
10:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid10);
                    
ShowTutGUIFrame(playerid11);
                    
TutStep[playerid] = 11;
                    
ClearChatbox(playerid);
                    
// San Andreas News (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,643.6738,-1348.9811,17.7879);
                    
SetPlayerPos(playerid643.6738,-1348.9811,-10.0);
                    
SetPlayerCameraPos(playerid,616.4327,-1336.6818,20.9202);
                    
SetPlayerCameraLookAt(playerid,643.6738,-1348.9811,17.7879);
                    
strcat(str"{FFFFFF}This is the Fox 11 News Station. They handle all the news and weather");
                    
strcat(str" within Los Angeles.\n They report anything from gang riors and government corruption to bank robberies.\n");
                    
strcat(str"They also hold live interviews that you can");
                    
strcat(str" watch on your TV.\n If you want to apply for this faction, apply on the forums at");
                    
strcat(strwww.milzroleplayforums.boards.net \n If you want to sell items you can place a ad by using '/ad'.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Fox 11 News - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
11:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid11);
                    
ShowTutGUIFrame(playerid12);
                    
TutStep[playerid] = 12;
                    
ClearChatbox(playerid);
                    
// Government (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,1478.4708,-1754.7579,16.7400);
                    
SetPlayerPos(playerid1478.4708,-1754.7579,-10.0);
                    
SetPlayerCameraPos(playerid,1520.2188,-1712.0742,40.5350);
                    
SetPlayerCameraLookAt(playerid,1478.4708,-1754.7579,16.7400);
                    
strcat(str"{FFFFFF}This is City Hall. The Mayor and other government staff make all the decisions");
                    
strcat(str" within Los Angeles. \n They make the laws, set taxes and pay city wages.\n");
                    
strcat(str"This faction is not active and is managed by the Admins.\n");
                    
strcat(str"You need to go here to get your drivers license after you begin.\n");
                    
strcat(str"You can also donate your money to charity by using '/charity'.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Government - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
12:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid12);
                    
ShowTutGUIFrame(playerid13);
                    
TutStep[playerid] = 13;
                    
ClearChatbox(playerid);
                    
// TR (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,-2679.5342,1639.0643,65.8865);
                    
SetPlayerPos(playerid, -2679.5342,1639.0643,-10.0);
                    
SetPlayerCameraPos(playerid,-2734.3477,1520.4971,87.1810);
                    
SetPlayerCameraLookAt(playerid,-2679.5342,1639.0643,65.8865);
                    
strcat(str"This server is restricted to the city and county surrounding Los Angeles.\n");
                    
strcat(str"Please do not leave the RP area by vehicle, foot, or swimming.\n");
                    
strcat(str"Use of lethal force, incarceration, and/or banishment authorized upon Violation.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Restrictions - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
13:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid13);
                    
ShowTutGUIFrame(playerid14);
                    
TutStep[playerid] = 14;
                    
ClearChatbox(playerid);
                    
// Gang SaC Beach (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,655.5394,-1867.2231,5.4609);
                    
SetPlayerPos(playerid655.5394,-1867.2231,-10.0);
                    
SetPlayerCameraPos(playerid,699.7435,-1936.7568,24.8646);
                    
SetPlayerCameraLookAt(playerid,655.5394,-1867.2231,5.4609);
                    
strcat(str"{FFFFFF}Los Angeles has several different crime related gangs and families to join.\n");
                    
strcat(str"You can type '/families' to display a list of gangs. \n Gangs can take");
                    
strcat(str" control of the weapons and drug trade to earn a lot of cash.\n");
                    
strcat(str"If you want to join a gang talk to there gang leaders or apply on the forums @ www.milzroleplayforums.boards.net.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Gangs and Families - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
14:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid14);
                    
ShowTutGUIFrame(playerid15);
                    
TutStep[playerid] = 15;
                    
ClearChatbox(playerid);
                    
// 24/7 Store (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,1315.6570,-898.7749,39.5781);
                    
SetPlayerPos(playerid1315.6570,-898.7749,-10.0);
                    
SetPlayerCameraPos(playerid,1315.4285,-922.5234,44.0355);
                    
SetPlayerCameraLookAt(playerid,1315.6570,-898.7749,39.5781);
                    
strcat(str"{FFFFFF}You can purchase a variety of different items with the '/buy' command");
                    
strcat(str" from any 24/7. \n Buying a cellphone will give you the ability to call and text other players.\n");
                    
strcat(str"24/7 stores appear as a green dollar sign on your mini-map.\n");
                    
strcat(str"V.I.P's get special discounts from these stores.\n");
                    
strcat(str"You can buy a lock for your car with /buylock.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - 24/7 Superstores - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
15:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid15);
                    
ShowTutGUIFrame(playerid16);
                    
TutStep[playerid] = 16;
                    
ClearChatbox(playerid);
                    
// Clothing Store (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,1457.1664,-1138.0111,26.6261);
                    
SetPlayerPos(playerid1457.1664,-1138.0111,-10.0);
                    
SetPlayerCameraPos(playerid,1459.0411,-1156.4342,33.4464);
                    
SetPlayerCameraLookAt(playerid,1457.1664,-1138.0111,26.6261);
                    
strcat(str"{FFFFFF}You can buy different skins from any clothing store around LA.\n");
                    
strcat(str"You can also buy hundreds of different accsessories from any clothing store.\n");
                    
strcat(str"VIPs get an unrestricted selection of skins from these stores.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Clothing Store  - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
16:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid16);
                    
ShowTutGUIFrame(playerid17);
                    
TutStep[playerid] = 17;
                    
ClearChatbox(playerid);
                    
// Car Dealership (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,1656.6107,-1892.3878,13.5521);
                    
SetPlayerPos(playerid,1656.6107,-1892.3878,-10.0);
                    
SetPlayerCameraPos(playerid,1678.1699,-1863.5964,22.9622);
                    
SetPlayerCameraLookAt(playerid,1656.6107,-1892.3878,13.5521);
                    
strcat(str"{FFFFFF}You can purchase different vehicles from the auto mall under the central interchange.\n");
                    
strcat(str"Once you buy your car, you can control it with the '/car' command. \n Be carful not to leave it");
                    
strcat(str" parked in no parking areas, as it might get impounded!\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Vehicle Dealership  - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
17:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid17);
                    
ShowTutGUIFrame(playerid18);
                    
TutStep[playerid] = 18;
                    
ClearChatbox(playerid);
                    
// Los Santos (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,1607.0160,-1510.8218,207.4438);
                    
SetPlayerPos(playerid,1607.0160,-1510.8218,-10.0);
                    
SetPlayerCameraPos(playerid,1850.1813,-1765.7552,81.9271);
                    
SetPlayerCameraLookAt(playerid,1607.0160,-1510.8218,207.4438);
                    
strcat(str"{FFFFFF}You can buy houses all across LA. \n Houses are player ownable that you can purchase");
                    
strcat(str" from other players or buy on your own. \n You can store materials, drugs and money.\n");
                    
strcat(str"You can store materials, drugs and money in your house to keep it safe as long as you own the house.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Houses  - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
18:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid18);
                    
ShowTutGUIFrame(playerid19);
                    
TutStep[playerid] = 19;
                    
ClearChatbox(playerid);
                    
// VIP (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,1797.3397,-1578.3440,14.0798);
                    
SetPlayerPos(playerid,1797.3397,-1578.3440,-10.0);
                    
SetPlayerCameraPos(playerid,1832.1698,-1600.1538,32.2877);
                    
SetPlayerCameraLookAt(playerid,1797.3397,-1578.3440,14.0798);
                    
strcat(str"{FFFFFF}Just like any other RP server you must abide by Traffic Laws.\n");
                    
strcat(str"-Drive at a reasonable speeds that keep you in control of your vehicle.\n");
                    
strcat(str"-Traffic lights are synced! Red=Stop | Yellow=Slow Down | Green=Go.\n");
                    
strcat(str"-Only follow traffic lights above a junction. (Marked with a solid white line)\n");
                    
strcat(str"-YIELD for emergency lights and siren.\n");
                    
strcat(str"-Remain at a safe distance from other vehicles when driving.\n");
                    
strcat(str"-Drive how you would in real life. Dont be a moron.\n");
                    
strcat(str"-Check /tlaws for more info.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Traffic Laws  - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
19:
                {
                    new 
str[1024];
                    
HideTutGUIFrame(playerid19);
                    
ShowTutGUIFrame(playerid20);
                    
TutStep[playerid] = 20;
                    
ClearChatbox(playerid);
                    
// Unity Station (Camera)
                    
SetPlayerVirtualWorld(playerid0);
                    
SetPlayerInterior(playerid0);
                    
Streamer_UpdateEx(playerid,1716.1129,-1880.0715,22.0264);
                    
SetPlayerPos(playerid,1716.1129,-1880.0715,-10.0);
                    
SetPlayerCameraPos(playerid,1755.0413,-1824.8710,20.2100);
                    
SetPlayerCameraLookAt(playerid,1716.1129,-1880.0715,22.0264);
                    
strcat(str"{FFFFFF}-Deathmatching is not allowed. Hacks are not allowed.\n");
                    
strcat(str"-English is the official language. Foul language (OOC) is not allowed.\n");
                    
strcat(str"-Foul language (in char) is allowed.\n");
                    
strcat(str"-Do not carpark or log to avoid an RP.\n");
                    
strcat(str"-For more info type /rules.\n");
                    
strcat(str"{FF8000}Press next to continue.");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Basic Rules  - www.milzroleplayforums.boards.net"str"Next""Cancel");
                }
                case 
20:
                {
                    new 
str[1024];
                    
HideTutGUIBox(playerid);
                    
HideTutGUIFrame(playerid20);
                    
TutStep[playerid] = 0;
                    
ClearChatbox(playerid);
                    
PlayerInfo[playerid][pTut] = 1;
                    
gOoc[playerid] = 0gNews[playerid] = 0gFam[playerid] = 0;
                    
TogglePlayerControllable(playerid1);
                    
SetCamBack(playerid);
                    
DeletePVar(playerid"MedicBill");
                    
SetPlayerColor(playerid,TEAM_HIT_COLOR);
                    
SetPlayerInterior(playerid,0);
                    
SetPlayerPos(playerid1722.7611,-1915.6167,13.5647);
                    
SetPlayerFacingAngle(playerid359.4621);
                    
SetCameraBehindPlayer(playerid);
                    
SetPlayerVirtualWorld(playerid0);
                    
strcat(str"{FFFFFF}This tutorial was designed to help you get started in the server.\n");
                    
strcat(str"If you have any question you can either talk in '/newb' or '/requesthelp'\n");
                    
strcat(str"Make sure to sign-up on the forums @ www.milzroleplayforums.boards.net\n");
                    
strcat(str"Teamspeak Server: ts.milzroleplayforums.boards.net:10126 \n");
                    
strcat(str"Thank you, and we hope you have a nice experence in Sin Life Roleplay!\n");
                    
ShowPlayerDialog(playeridDIALOG_SHOW_TUTORIALDIALOG_STYLE_MSGBOX"{33CCFF}Tutorial - Wrapping things up  - www.milzroleplayforums.boards.net"str"Ok""Cancel");
                }
            }
        }
    } 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)