Error help
#2

PHP код:
if(dialogid == TIMVIECLAM
        { 
        if(
response
        { 
               if(
listitem == 0// Tham Tu 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid1555.5,-1675.59021,16.195313.0); 
                
CP[playerid] = 252000
                
SendClientMessage(playeridCOLOR_LIGHTBLUE"* Vao ben trong So Canh Sat gan chu J go /nhanviec ."); 
                return 
1
            } 
            if(
listitem == 1//Luat Su 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid1380.8955,-1088.6808,27.38443.0); 
                
CP[playerid] = 252000
                
SendClientMessage(playeridCOLOR_LIGHTBLUE"* Vao` ben trong gym cho~ locker an' /join."); 
                return 
1
            } 
            if(
listitem == 2//Gai Diem 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid1555.26, -1675.7616.193.0); 
                
CP[playerid] = 252000
                
SendClientMessage(playeridCOLOR_LIGHTBLUE"* Vao ben trong Lau Xanh go /nhanviec."); 
                return 
1
            } 
            if(
listitem == 3//Buon Thuoc Phien 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid2166.3772,-1675.3829,15.08593.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 4//Ve si 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid,-2269.256103, -158.05432135.3203123.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 5//Tho Sua Xe 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid, -2032.601928143.86659228.8359373.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 6//Buon Vu khi 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid1365.8473, -1275.498713.54693.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 7//Vo si 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid766.0804,14.5133,1000.70043.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 8// Tai Xe Taxi 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid2354.2703,-1169.3293,28.00833.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 9// Van chuyen thuoc phien 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid2354.2808,-1169.2959,28.00663.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 10// Tho Thu Cong 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid2195.8335,-1973.0638,13.55893.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 11// Nguoi pha ruou 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid1836.2959,-1682.13721,13.353893.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 12// Tai Xe Cho hang 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid2438.0566, -2120.747113.54693.0); 
                
CP[playerid] = 252000
                return 
1
            } 
            if(
listitem == 13// Pizza Boy 
            

                
PlayerPlaySound(playerid10560.00.00.0); 
                
SetPlayerCheckpoint(playerid, -1720.9626461364.4561767.1875003.0); 
                
CP[playerid] = 252000
                return 
1
            } 
        } 
    } 
   return 
1;

PHP код:
CMD:timvieclam(playeridparams[]) 
{
    
ShowPlayerDialog(playeridTIMVIECLAMDIALOG_STYLE_LIST"Tim Viec Lam ?","Tham Tu\nLuat Su\nGai diem\nNguoi buon ban thuoc phien\nTho Sua Xe\nVe Si\nDai ly Buon Sung\nVo Si\nTai Xe Taxi\nVan chuyen thuoc phien\nTho Thu Cong\nNguoi pha ruou\nTai Xe Cho hang\nPizza Boy""Chon""Huy Bo"); 
   return 
1;

Reply


Messages In This Thread
Error help - by LuisPark - 29.11.2014, 10:34
Re: Error help - by Glossy42O - 29.11.2014, 10:36
Re: Error help - by LuisPark - 29.11.2014, 11:29
Re: Error help - by LuisPark - 29.11.2014, 11:40

Forum Jump:


Users browsing this thread: 1 Guest(s)