Jump to content
  • 0

Cerere Ajutor CMDS


xt3z0ne

Question

Nick:Johnny

Problema:deci am facut comanda /cmds pe stock mai usor de tradus:) si cand dau /cmds nu apare dialogu cu comenzile:|

Erori / warnings:~

Lini/script:[pawn]

CMD:cmds( playerid , params [ ] )

{

  ShowASSCmds( playerid );

return ( 1 );

}

stock ShowASSCmds( playerid )

{

new SASSCmds[2024];

if( Limba[ playerid ] == 0 )// Romana

{

strcat(SASSCmds, "{0000FF}Apocalypse {FFFF00}Super {FF0000}Stunt {00BFFF}Commands!\n");

strcat(SASSCmds, "{00BFFF}Aceste comenzi pot fi folosite in chat(T sau F6). Citeste-le pe toate!\n\n\n");

strcat(SASSCmds, "{FF0000}/v {FFF1B0}- Meniul cu toate vehiculele de pe server.\n");

strcat(SASSCmds, "{FF0000}/car [vehicle name] {FFF1B0}- Pentru a chema o masina mai repede dupa nume/id.\n");

strcat(SASSCmds, "{FF0000}/CreateClan {FFF1B0}- Vrei propriul clan? Foloseste aceasta comanda!\n");

strcat(SASSCmds, "{FF0000}/Teles {FFF1B0}- Toate teleportarile de pe server se afla aici!\n");

strcat(SASSCmds, "{FF0000}/arme {FFF1B0}- Meniu cu arme.\n");

strcat(SASSCmds, "{FF0000}/BArme {FFF1B0}- Super arme\n");

strcat(SASSCmds, "{FF0000}/ro /eng {FFF1B0}- Selectezi limba dorita\n");

strcat(SASSCmds, "{FF0000}/ww, /rw {FFF1B0}- doua seturi de arme.\n");

strcat(SASSCmds, "{FF0000}/Vreme {FFF1B0}- Seteaza-ti propia vreme!\n");

strcat(SASSCmds, "{FF0000}/Givecash {FFF1B0}- Imprumuta prietenii cu niste banii.\n");

strcat(SASSCmds, "{FF0000}/skin {FFF1B0}- Schimbati infatisarea!\n");

strcat(SASSCmds, "{FF0000}/nrg {FFF1B0}- Cheama o motocicleta NRG-500!\n");

strcat(SASSCmds, "{FF0000}/gps [id/off] {FFF1B0}- Nu gasesti un jucator? Foloseste GPS-ul.\n");

strcat(SASSCmds, "{FF0000}/zi, /noapte {FFF1B0}- joaca-te cu soarele!\n");

strcat(SASSCmds, "{FF0000}/credits {FFF1B0}- Nu te-ai intrebat nici o data cine a creat acest server?\n");

strcat(SASSCmds, "{FF0000}/animlist {FFF1B0}- Afla toate animatiile de pe server.\n");

strcat(SASSCmds, "{FF0000}/s {FFF1B0}- Salveaza pozitia!\n");

strcat(SASSCmds, "{FF0000}/l {FFF1B0}- Intoarce-te la pozitia salvata!\n");

ShowPlayerDialog( playerid , 9985 ,DIALOG_STYLE_MSGBOX , "Comenzi" , SASSCmds , "Inchide" , "" );

}

else

if( Limba[ playerid ] == 1 )// English ( Exemplu tradus in engleza )

{

strcat(SASSCmds, "{0000FF}Apocalypse {FFFF00}Super {FF0000}Stunt {00BFFF}Commands!\n");

strcat(SASSCmds, "{00BFFF}These commands can be used in chat(T or F6). Read all.\n\n\n");

strcat(SASSCmds, "{FF0000}/v {FFF1B0}- Menu with all vehicles.\n");

strcat(SASSCmds, "{FF0000}/car [vehicle name] {FFF1B0}- Spawn car with name/id.\n");

strcat(SASSCmds, "{FF0000}/CreateClan {FFF1B0}- You want create a clan ? use /createclan!\n");

strcat(SASSCmds, "{FF0000}/Teles {FFF1B0}- All server teleports is here!\n");

strcat(SASSCmds, "{FF0000}/arme {FFF1B0}- Menu with weapons.\n");

strcat(SASSCmds, "{FF0000}/BArme {FFF1B0}- Super weapons\n");

strcat(SASSCmds, "{FF0000}/ro /eng {FFF1B0}- Select the desired language \n");

strcat(SASSCmds, "{FF0000}/ww, /rw {FFF1B0}- ww Walking weapons , rw Run weapons.\n");

strcat(SASSCmds, "{FF0000}/Vreme {FFF1B0}- Set you own weather!\n");

strcat(SASSCmds, "{FF0000}/Givecash {FFF1B0}- borrow you friends with money.\n");

strcat(SASSCmds, "{FF0000}/skin {FFF1B0}- Change skin!\n");

strcat(SASSCmds, "{FF0000}/nrg {FFF1B0}- Spawn one NRG-500\n");

strcat(SASSCmds, "{FF0000}/gps [id/off] {FFF1B0}- You don't found a player? Use gps and find.\n");

strcat(SASSCmds, "{FF0000}/zi, /noapte {FFF1B0}- zi = day , noapte = night!\n");

    strcat(SASSCmds, "{FF0000}/credits {FFF1B0}- Credits for server?\n");

strcat(SASSCmds, "{FF0000}/animlist {FFF1B0}- Animation list.\n");

strcat(SASSCmds, "{FF0000}/s {FFF1B0}- Save your position!\n");

strcat(SASSCmds, "{FF0000}/l {FFF1B0}- Load your position!\n");

ShowPlayerDialog( playerid , 9985 , DIALOG_STYLE_MSGBOX , "Commands " , SASSCmds , "Close" , "" );

}

return ( SASSCmds );

}

[/pawn]

Ai incercat sa rezolvi singur ?:Da dar nam reusit.

Aveti idee dece nu apare dialog-u :-?

:D

Sunt un retardat

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

Wopss lasa ca am sai fac reclamatie pentru posturi hun.

Asa crysti daca iti dau 2 perechii de palme copil de 14 ani ba putache is mai mare ca tine.Da poate nu stiu scripting bine dar nu ma las pana nu imi fac un sv. Wops revin cu edit cas pe tel

Sunt un retardat

Link to comment
Share on other sites

Lol "perechii" vad ca te bata romana asta :-j, pe mess erai smecher te milogeai de mine sa-ti dau administrator pe forum :-@.

App ia uitati-va aici:

http://www.sa-mp.ro/forum/index.php?topic=30238.0

93.119.26.23:7777

Link to comment
Share on other sites

Poti face si asa.

[pawn]CMD:cmds( playerid , params [ ] )

{

  ShowASSCmds( playerid );

return ( 1 );

}

forward ShowASSCmds(playerid);

public ShowASSCmds(playerid)

{

new SASSCmds[600];

if( Limba[ playerid ] == 0 )// Romana

{

strcat(SASSCmds, "{0000FF}Apocalypse {FFFF00}Super {FF0000}Stunt {00BFFF}Commands!\n");

strcat(SASSCmds, "{00BFFF}Aceste comenzi pot fi folosite in chat(T sau F6). Citeste-le pe toate!\n\n\n");

strcat(SASSCmds, "{FF0000}/v {FFF1B0}- Meniul cu toate vehiculele de pe server.\n");

strcat(SASSCmds, "{FF0000}/car [vehicle name] {FFF1B0}- Pentru a chema o masina mai repede dupa nume/id.\n");

strcat(SASSCmds, "{FF0000}/CreateClan {FFF1B0}- Vrei propriul clan? Foloseste aceasta comanda!\n");

strcat(SASSCmds, "{FF0000}/Teles {FFF1B0}- Toate teleportarile de pe server se afla aici!\n");

strcat(SASSCmds, "{FF0000}/arme {FFF1B0}- Meniu cu arme.\n");

strcat(SASSCmds, "{FF0000}/BArme {FFF1B0}- Super arme\n");

strcat(SASSCmds, "{FF0000}/ro /eng {FFF1B0}- Selectezi limba dorita\n");

strcat(SASSCmds, "{FF0000}/ww, /rw {FFF1B0}- doua seturi de arme.\n");

strcat(SASSCmds, "{FF0000}/Vreme {FFF1B0}- Seteaza-ti propia vreme!\n");

strcat(SASSCmds, "{FF0000}/Givecash {FFF1B0}- Imprumuta prietenii cu niste banii.\n");

strcat(SASSCmds, "{FF0000}/skin {FFF1B0}- Schimbati infatisarea!\n");

strcat(SASSCmds, "{FF0000}/nrg {FFF1B0}- Cheama o motocicleta NRG-500!\n");

strcat(SASSCmds, "{FF0000}/gps [id/off] {FFF1B0}- Nu gasesti un jucator? Foloseste GPS-ul.\n");

strcat(SASSCmds, "{FF0000}/zi, /noapte {FFF1B0}- joaca-te cu soarele!\n");

strcat(SASSCmds, "{FF0000}/credits {FFF1B0}- Nu te-ai intrebat nici o data cine a creat acest server?\n");

strcat(SASSCmds, "{FF0000}/animlist {FFF1B0}- Afla toate animatiile de pe server.\n");

strcat(SASSCmds, "{FF0000}/s {FFF1B0}- Salveaza pozitia!\n");

strcat(SASSCmds, "{FF0000}/l {FFF1B0}- Intoarce-te la pozitia salvata!\n");

ShowPlayerDialog( playerid , 9985 ,DIALOG_STYLE_MSGBOX , "Comenzi" , SASSCmds , "Inchide" , "" );

}

else

if( Limba[ playerid ] == 1 )// English ( Exemplu tradus in engleza )

{

strcat(SASSCmds, "{0000FF}Apocalypse {FFFF00}Super {FF0000}Stunt {00BFFF}Commands!\n");

strcat(SASSCmds, "{00BFFF}These commands can be used in chat(T or F6). Read all.\n\n\n");

strcat(SASSCmds, "{FF0000}/v {FFF1B0}- Menu with all vehicles.\n");

strcat(SASSCmds, "{FF0000}/car [vehicle name] {FFF1B0}- Spawn car with name/id.\n");

strcat(SASSCmds, "{FF0000}/CreateClan {FFF1B0}- You want create a clan ? use /createclan!\n");

strcat(SASSCmds, "{FF0000}/Teles {FFF1B0}- All server teleports is here!\n");

strcat(SASSCmds, "{FF0000}/arme {FFF1B0}- Menu with weapons.\n");

strcat(SASSCmds, "{FF0000}/BArme {FFF1B0}- Super weapons\n");

strcat(SASSCmds, "{FF0000}/ro /eng {FFF1B0}- Select the desired language \n");

strcat(SASSCmds, "{FF0000}/ww, /rw {FFF1B0}- ww Walking weapons , rw Run weapons.\n");

strcat(SASSCmds, "{FF0000}/Vreme {FFF1B0}- Set you own weather!\n");

strcat(SASSCmds, "{FF0000}/Givecash {FFF1B0}- borrow you friends with money.\n");

strcat(SASSCmds, "{FF0000}/skin {FFF1B0}- Change skin!\n");

strcat(SASSCmds, "{FF0000}/nrg {FFF1B0}- Spawn one NRG-500\n");

strcat(SASSCmds, "{FF0000}/gps [id/off] {FFF1B0}- You don't found a player? Use gps and find.\n");

strcat(SASSCmds, "{FF0000}/zi, /noapte {FFF1B0}- zi = day , noapte = night!\n");

    strcat(SASSCmds, "{FF0000}/credits {FFF1B0}- Credits for server?\n");

strcat(SASSCmds, "{FF0000}/animlist {FFF1B0}- Animation list.\n");

strcat(SASSCmds, "{FF0000}/s {FFF1B0}- Save your position!\n");

strcat(SASSCmds, "{FF0000}/l {FFF1B0}- Load your position!\n");

ShowPlayerDialog( playerid , 9985 , DIALOG_STYLE_MSGBOX , "Commands " , SASSCmds , "Close" , "" );

}

return 1;

}[/pawn]

Aici nu aveau rost 2024 pentru ca ocupau mult spatiu pe nimic.

[pawn]new SASSCmds[600];[/pawn]

Din ce pare aici ajung vreo 600-700.

Link to comment
Share on other sites

Topic inchis , 48h+ fara reply.

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

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.