Jump to content

Question

Posted

Salut !

Am facut comanda /cmds, cu aproape toate comenzile de pe serverul meu.

Asta este comanda:

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

    {

    if(DM[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Eroare:","{FFF1AF}Nu poti folosi aceasta comanda cand esti in {B7FF00}zona DM.","OK", "" );

ShowPlayerDialog(playerid,JUMPS,DIALOG_STYLE_MSGBOX,"{0049FF}Commands:","\n{FFFFFF}/credits /arme /afk /hobj /skin /pm /animlist\n/fs culori /count /teles /races /up /kamikadze\n/healme /armourme /fericit /suparat /sex /shield\n/givecash /timp /tag/off /ochelari /ad /head\n/laser /kkt /bomb /glow  /badmin /vinfo /actions /stunts\n/animhelp /animhelp2 /war /war2 /sat /ring /pestera /vips\n{4F8114}Vehicles Commands\n/v /car /nrg /flip /tune /atune /atune2 /atune3\n/lockcar /unlockcar /carc /godcar /vother /neon.","OK","");

return 1;

}[/pawn]

Dupa compile imi da asa:

nhkjj.jpg

Ce nu e bine ? E prea lung dialog-ul ?

www.youtube.com/thebwgg

3 answers to this question

Recommended Posts

Posted

Da, e prea lung, foloseste strcat ( http://wiki.sa-mp.com/wiki/Strcat )

new BigString[ 2048 ];

strcat( BigString, "\n{FFFFFF}/credits /arme /afk /hobj /skin /pm /animlist\n" );
strcat( BigString, "/fs culori /count /teles /races /up /kamikadze" );
strcat( BigString, "/healme /armourme /fericit /suparat /sex /shield" );
strcat( BigString, "/givecash /timp /tag/off /ochelari /ad /head" );
strcat( BigString, "/laser /kkt /bomb /glow /badmin /vinfo /actions /stunts" );
strcat( BigString, "/animhelp /animhelp2 /war /war2 /sat /ring /pestera /vips" );
strcat( BigString, "{4F8114}Vehicles Commands" );
strcat( BigString, "/v /car /nrg /flip /tune /atune /atune2 /atune3" );
strcat( BigString, "/lockcar /unlockcar /carc /godcar /vother /neon.

ShowPlayerDialog( playerid, JUMPS, DIALOG_STYLE_MSGBOX, "{0049FF}Commands:", "OK", "" );

Posted

stuntman[]!" post="93334" timestamp="1315927084"]

Da, e prea lung, foloseste strcat ( http://wiki.sa-mp.com/wiki/Strcat )

new BigString[ 2048 ];

strcat( BigString, "\n{FFFFFF}/credits /arme /afk /hobj /skin /pm /animlist\n" );
strcat( BigString, "/fs culori /count /teles /races /up /kamikadze" );
strcat( BigString, "/healme /armourme /fericit /suparat /sex /shield" );
strcat( BigString, "/givecash /timp /tag/off /ochelari /ad /head" );
strcat( BigString, "/laser /kkt /bomb /glow /badmin /vinfo /actions /stunts" );
strcat( BigString, "/animhelp /animhelp2 /war /war2 /sat /ring /pestera /vips" );
strcat( BigString, "{4F8114}Vehicles Commands" );
strcat( BigString, "/v /car /nrg /flip /tune /atune /atune2 /atune3" );
strcat( BigString, "/lockcar /unlockcar /carc /godcar /vother /neon.

ShowPlayerDialog( playerid, JUMPS, DIALOG_STYLE_MSGBOX, "{0049FF}Commands:", "OK", "" );

Si unde pun strcat( BigString, "......." ); ?

www.youtube.com/thebwgg

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.