Jump to content
  • 0

Problema cmd /shop


Chuck_James

Question

Problema intalnita (descriere): Am niste erori si habar nu am ce sa le fac.
Ero(area / rile) / warning-(ul / urile):

D:\mnx-xplay-kniferz\gamemodes\SincePlay.pwn(25362) : error 075: input line too long (after substitutions)
D:\mnx-xplay-kniferz\gamemodes\SincePlay.pwn(25363) : error 037: invalid string (possibly non-terminated string)
D:\mnx-xplay-kniferz\gamemodes\SincePlay.pwn(25363) : error 017: undefined symbol "FFFFFF"
D:\mnx-xplay-kniferz\gamemodes\SincePlay.pwn(25363) : warning 221: label name "Cash" shadows tag name
D:\mnx-xplay-kniferz\gamemodes\SincePlay.pwn(25363) : warning 215: expression has no effect
D:\mnx-xplay-kniferz\gamemodes\SincePlay.pwn(25363) : error 001: expected token: ";", but found "$"
Liniile de cod / sursa / script-ul(obligatoriu):

CMD:shop(playerid, params[])
{
    if(IsPlayerConnected(playerid))
    {
    ShowPlayerDialog(playerid, DIALOG_HPoints1, DIALOG_STYLE_LIST, "{FF3300}PremiumShop:", "{FFFFFF}Cash:  35.000$ - 100 PP\n{FFFFFF}Cash:  100.000$ - 300 PP\n{FFFFFF}Cash:  500.000$ - 800 PP\n{FFFFFF}Cash:  1.000.000$ - 1200 PP\n{FFFFFF}Cash:  2.000.000$ - 1700 PP\n{FFFFFF}PremiumAccount: - 500 PP\n{FFFFFF}Drugs: 50 drugs = 200 PP\n{FFFFFF}ClearFP: - 700 PP\n{FFFFFF}Clear 1 Warn - 600 PP\nHouse Interior 1 - {ff0000}Free\nHouse Interior 2 - 550 PP\nHouse Interior 3 - 750 PP\nHouse Interior 4 - 1000 PP\n{FF6600}Get PremiumPoints [+]\n", "Select", "Close");
    }
    return 1;
}
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da, nu am reusit.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

incearca asa:

new string[500];

format(string, sizeof(string), " "{FFFFFF}Cash:  35.000$ - 100 PP\n{FFFFFF}Cash:  100.000$ - 300 PP\n{FFFFFF}Cash:  500.000$ - 800 PP\n{FFFFFF}Cash:  1.000.000$ - 1200 PP\n{FFFFFF}Cash:  2.000.000$ - 1700 PP\n{FFFFFF}PremiumAccount: - 500 PP\n{FFFFFF}Drugs: 50 drugs = 200 PP\n{FFFFFF}ClearFP: - 700 PP\n{FFFFFF}Clear 1 Warn - 600 PP\nHouse Interior 1 - {ff0000}Free\nHouse Interior 2 - 550 PP\nHouse Interior 3 - 750 PP\nHouse Interior 4 - 1000 PP\n{FF6600}Get PremiumPoints [+]\n);

ShowPlayerDialog(playerid, DIALOG_HPoints1, DIALOG_STYLE_LIST, "{FF3300}PremiumShop:", string, "Select", "Close");

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.