Jump to content
  • 0

Cum fac o comanda gen /news


Question

Posted

As vrea si eu sa stiu cum fac o comada gen /news si sa imi explicati bine. Sa imi spuneti unde sa o pun si ce trebuie sa modific cand voi punce ceva nou pe serverul meu si sa imi dati un exemlu

3 answers to this question

Recommended Posts

Posted

[pawn]if (strcmp("/news", cmdtext, true, 10) == 0)

{

new string[1900];

strcat(string, "{00C0FF}Ce este nou ?\n", 1900 );

strcat(string, "{6EF83C}......................\n", 1900 );

strcat(string, "{6EF83C}......................\n", 1900 );

ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{F81414}NEWS", string, "-->oK<--","");

return 1;

}[/pawn]

Posted

[pawn]if (strcmp("/news", cmdtext, true, 10) == 0)

{

new string[1900];

strcat(string, "{00C0FF}Ce este nou ?\n", 1900 );

strcat(string, "{6EF83C}......................\n", 1900 );

strcat(string, "{6EF83C}......................\n", 1900 );

ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{F81414}NEWS", string, "-->oK<--","");

return 1;

}[/pawn]

si asta unde adug?

Posted

si asta unde adug?

In GM dupa linia OnPlayerCommandText .

Nu se cer comenzi.

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

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.