22.07.2018, 13:47
Код HTML:
if(dialogid == TIMVIECLAM) { if(response) { if(listitem == 0) // Tham Tu { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 1555.5,-1675.59021,16.19531, 3.0); CP[playerid] = 252000; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Vao ben trong So Canh Sat gan chu J go /nhanviec ."); return 1; } if(listitem == 1) //Luat Su { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 1553.1122,-1675.4807,16.1953, 0.0); CP[playerid] = 252000; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Vao trong HQ LSPD de nhan viec."); return 1; } if(listitem == 2) //Gai Diem { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 1555.26, -1675.76, 16.19, 3.0); CP[playerid] = 252000; SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Vao ben trong Lau Xanh go /nhanviec."); return 1; } if(listitem == 3) //Buon lau ma tuy { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 2166.3772,-1675.3829,15.0859, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 4) //Tho Sua Xe { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid,-2269.256103, -158.054321, 35.320312, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 5) //Ve Si { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -2032.601928, 143.866592, 28.835937, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 6) //Nguoi ban vu khi { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -2623.333984, 209.235931, 4.684767, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 7) //Vo Si { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 766.0804,14.5133,1000.7004, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 8) // Tai Xe Taxi { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 2354.2703,-1169.3293,28.0083, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 9) // Nguoi ban thuoc phien { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 2354.2808,-1169.2959,28.0066, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 10) // Tho Thu Cong { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 2195.8335,-1973.0638,13.5589, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 11) // Nguoi pha ruou { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 1836.2959,-1682.13721,13.35389, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 12) // Tai Xe Cho hang { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, 2182.3367,-2253.2390,14.7734, 3.0); CP[playerid] = 252000; return 1; } if(listitem == 13) // Pizza Boy { PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -1720.962646, 1364.456176, 7.187500, 3.0); CP[playerid] = 252000; return 1; } } }