Jump to content
  • 0

[GF/RP] meniu


impulse81

Question

am o problema la u meniu de la 24/7 !

http://postimage.org/image/qlvig44sd/

dupa cum vedeti item-ul 18 se baga peste 17..

asa arata comnanda

[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$",str);

            format(str,1970,"%s18: Laptop\t2500$",str);

ShowPlayerDialog( playerid, BUYMENU, DIALOG_STYLE_LIST, "Lista produse:", str, "Cumpara", "Iesi" );

return 1;

}

return 1;

}[/pawn]

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.