Incearca asta : [pawn] if(strcmp(cmd, "/buy", true) == 0) { if(IsPlayerConnected(playerid)) { if (!PlayerToPoint(100, playerid,-30.875, -88.9609, 1004.53)) // Centerpoint 24-7 { SCM(playerid, COLOR_GRAD2, " You are not in a 24-7 !"); return 1; } new str[1970]; format(str,1970,"1: Cell Phone\t\t500$\n"); format(str,1970,"%s2: Scratch Card\t\t7500$\n",str); format(str,1970,"%s3: Phone Book\t\t5000$\n",str); format(str,1970,"%s4: Dice\t\t\t500$\n",str); format(str,1970,"%s5: Vehicle Key\t\t5000$\n",str); format(str,1970,"%s6: Vehicle Lock\t\t10000$\n",str); format(str,1970,"%s7: Speedometer\t5000$\n",str); format(str,1970,"%s8: CD-Player\t\t2500$\n",str); format(str,1970,"%s9: Chicken\t\t10$\n",str); format(str,1970,"%s10: Hamburger\t\t10$\n",str); format(str,1970,"%s11: Frozen Pizza\t10$\n",str); format(str,1970,"%s12: Smoke\t\t100$\n",str); format(str,1970,"%s13: Beer\t\t50$\n",str); format(str,1970,"%s14: Clock\t\t650$\n",str); format(str,1970,"%s15: Condom\t\t50$\n",str); format(str,1970,"%s16: Spray Color Car\t1600$\n",str); format(str,1970,"%s17: Spray PaintJob Car\t2500$\n",str); format(str,1970,"%s18: Laptop\t2500$",str); ShowPlayerDialog( playerid, BUYMENU, DIALOG_STYLE_LIST, "Lista produse:", str, "Cumpara", "Iesi" ); return 1; } return 1; }[/pawn]