17.01.2012, 16:52
pawn Код:
if(strcmp(cmdtext,"/teles",true)==0)
{
new dialog0[256],dialog1[256],dialog2[256],dialog3[256],dialog4[256];
dialog0 = "{00FFFF}Stunt:/lvair /lsair /sfair /hp /bs /aa /bbs /as /fs /ds /lsaa.\n";
dialog1 = "Jump:/bsj1-9 /bj1-7 /hj /gj /pj /dj /chill /lj /aj /ij /xj.\nDrift:/drift1-6 /drag1-3 /driftrocky.\n";
dialog2 = "DM:/dm1-8 /gdm /oh /grovedm /gldm /vdm /sdm /cs /hdm /boxdm.\nFun:/2c /lc /tp /fd1-2 /df /sd /sc.\n";
dialog3 = "Derby:/derby1-6.\nParkour:/parkour1-6.\nCity:/city1-4.\nCountry:/ls /lv /sf. \n";
dialog4 = "Interior: /warhouse1-2 /house1-10 \nOthers:/relax";
new string[1024];
format(string,sizeof(string),"%s%s%s%s%s",dialog0,dialog1,dialog2,dialog3,dialog4);
ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX,"{FFFFFF} Teleports",string,"Ok","Close");
return 1;
}