Jump to content
  • 0

Pawno don't Send


xxSPEEDYxx

Question

dc in plm imi da don't send cand am bagat culorile in dialogul asta????????????ma scoate din minti..

ShowPlayerDialog(playerid, Farme, 2, "{FFFF00}Funny Weapons", "{00FF00}Brass Knuckles {E60000}- 2300$\t{00FF00}Golf Club {E60000}- 3000$\t{00FF00}Nite Stick {E60000}- 2500$\t{00FF00}Knife {E60000}- 1500$\t{00FF00}Baseball Bat {E60000}- 3500$\t{00FF00}Shovel {E60000}- 1000$\t{00FF00}Pool Cue - 1500$\t{00FF00}Katana - 2500$\t{00FF00}Chainsaw - 5000$\t{00FF00}Purple Dildo - 2200$\t{00FF00}Small White Vibrator - 2000$\t{00FF00}Large White Vibrator - 2500$\t{00FF00}Silver Vibrator - 3900$\t{00FF00}Flowers - 500$\t{00FF00}Cane - 1000$", "Buy", "Cancel");

Fara reclama in semnatura!

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

Guest RockStar

Nu e prea lung..

Fara culori iti da eroarea?Daca nu defineste culorile fara { si sa nu pui la linia aceea..poate merge asa..

Nu e adevarat . Nu e de la culori.

Ori e din cauza ca e pre lung cum a zis stuntman ori ai uitat sa inchizi tu vreo { sau } pe undeva...mi se intampla si mie ....

Link to comment
Share on other sites

Nu e prea lung..

Fara culori iti da eroarea?Daca nu defineste culorile fara { si sa nu pui la linia aceea..poate merge asa..

nu fara culori nu da erroarea..da pai nu se poate face cumva sa nu imi dea erroarea si sa fie bagate si culorile??...chiar azi am jucat pe The Eclipse si cand am tastat /teles aparea un dialog ft mare...cum se poate face...de ce merge?...poate sa ma ajute si pe mn cnva sa nu imi mai dea Don't Send??pls si sa fie si culorile

Fara reclama in semnatura!

Link to comment
Share on other sites

da dar eu vreau sa fie asa:

ShowPlayerDialog(playerid, Farme, 2, "{FFFF00}Funny Weapons", "{00FF00}Brass Knuckles {E60000}- 2300$\t{00FF00}Golf Club {E60000}- 3000$\t{00FF00}Nite Stick {E60000}- 2500$\t{00FF00}Knife {E60000}- 1500$\t{00FF00}Baseball Bat {E60000}- 3500$\t{00FF00}Shovel {E60000}- 1000$\t{00FF00}Pool Cue - 1500$\t{00FF00}Katana - 2500$\t{00FF00}Chainsaw - 5000$\t{00FF00}Purple Dildo - 2200$\t{00FF00}Small White Vibrator - 2000$\t{00FF00}Large White Vibrator - 2500$\t{00FF00}Silver Vibrator - 3900$\t{00FF00}Flowers - 500$\t{00FF00}Cane - 1000$", "Buy", "Cancel");

ma poate ajuta cnva sa mearga va rog frumos!!

Fara reclama in semnatura!

Link to comment
Share on other sites

Guest RockStar

Ma pai si culorile alea ocupa spatiu din string si pana la urma tot acolo ajung cum a zis stuntman , ai depasit limita la string.

Mai bine foloseste strcat.

ex:

new Commands[ 1024 ]; // sus de tot

CommandDialog() // undeva in gm/fs de preferat la sfarsit
{
    Commands[0]='\0';
    strcat(Commands, "mult text aici\n", 1024 );
    strcat(Commands, "mult text aici\n", 1024 );
    strcat(Commands, "mult text aici\n", 1024 );
    strcat(Commands, "mult text aici\n", 1024 );
    strcat(Commands, "mult text aici\n", 1024 );
    strcat(Commands, "mult text aici", 1024 );
    return Commands;
}

Si comanda ar trebui sa arate asa

CMD:cmds( playerid, params[  ]  )

{

    ShowPlayerDialog( playerid, 9046, DIALOG_STYLE_MSGBOX,"Commands", CommandDialog( ), "Ok", "Close" );

return 1;

}

Link to comment
Share on other sites

Guest farse

Chit ca definesti o culoare,ori ca o pui direct,e la fel.


new str[600];
strcat(str,, "{00FF00}Brass Knuckles {E60000}- 2300$\t{00FF00}Golf Club {E60000}- 3000$\t{00FF00}Nite Stick {E60000}- 2500$\t");
strcat(str,"{00FF00}Knife {E60000}- 1500$\t{00FF00}Baseball Bat {E60000}- 3500$\t{00FF00}Shovel {E60000}- 1000$\t{00FF00}Pool Cue - 1500$\t{00FF00}Katana - 2500$\t");
strcat(str,"{00FF00}Chainsaw - 5000$\t{00FF00}Purple Dildo - 2200$\t{00FF00}Small White Vibrator - 2000$\t{00FF00}Large White Vibrator - 2500$\t{00FF00}Silver Vibrator - 3900$\t{00FF00}Flowers - 500$\t{00FF00}Cane - 1000$");
ShowPlayerDialog(playerid, Farme, 2,"{FFFF00}Funny Weapons",str, "Buy", "Cancel");

apropo,\t e pentru spatiu! \n e pentru linie noua,re-editeaza tu.

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.