Jump to content
  • 0

Cateva probleme sau buguri


BogdaN.

Question

Salutare .

Am luat un gamemod de pe net,l-am editat tot cum trebuie dar are cateva probleme/buguri si acelea sunt:

1. In gamemod este implementata comanda /getwet ,e setata sa porneasca la payday, cand dai /getwet tre sa astepti 20 secunde si te teleporteaza intr-un anumit loc. Ei si pe alte servare am vazut ca trebuia sa ai sticla pe jos, niste cuburi de sticla sau ceva. La mine cad in apa. Nu am acele cuburi

2. Numi arata helperii lv 2-3-4 la /helpers decat helper lv 1.

3. Cand dau /drink  adica sa beau alcool imi da voie fara sa fiu intr-un bar, cum as putea remedia sa mearga doar intr-un bar ca asa fac toti abuz de /drink

4. Cum as putea sa bag comanda /ad sa dai odata la 1 minut

Daca ma puteti ajuta lasa-ti reply :D

Dai si tu un vot aici http://concurs.ws/concurent-bRonx.html , nu dureaza decat 5 secunde .

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

2.[pawn] if (strcmp(cmd, "/helpers", true) == 0)

    {

    new counth = 0;

    SCM(playerid, 0xCCD802AA, "[____________Helpers Online___________]");

    for(new i = 0; i < MAX_PLAYERS; i++)

    {

    if (IsPlayerConnected(i))

    {

    if(PlayerInfo[pHelper] == 1)

    {

    GetPlayerName(i, sendername, sizeof(sendername));

    format(string, 256, "Helper Level 1 : %s ", sendername);

        SCM(playerid,0xCAFF70AA, string);

        counth++;

    }

                            if(PlayerInfo[pHelper] == 2)

    {

    GetPlayerName(i, sendername, sizeof(sendername));

    format(string, 256, "Helper Level 2 : %s ", sendername);

        SCM(playerid,0x1E90FFAA, string);

        counth++;

    }

                            if(PlayerInfo[pHelper] == 3)

    {

    GetPlayerName(i, sendername, sizeof(sendername));

    format(string, 256, "Helper Level 3 : %s ", sendername);

        SCM(playerid,0xFFDEADAA, string);

        counth++;

    }

                if(PlayerInfo[pHelper] == 4)

    {

    GetPlayerName(i, sendername, sizeof(sendername));

    format(string, 256, "Leader Helpers : %s ", sendername);

        SCM(playerid,0xFFDEADAA, string);

        counth++;

    }

}

}

    if (counth == 0)

SCM(playerid,COLOR_LIGHTRED,"No Helpers online on the server");

    SCM(playerid,0xCCD802AA, "[____________________________________]");

    return 1;

    }[/pawn]

3.http://wiki.sa-mp.com/wiki/IsPlayerInRangeOfPoint

Link to comment
Share on other sites

1.Nu ai pozitia la care jucatorul trebuie teleportat adica, nu este setata.

2.

[pawn] if ( strcmp ( cmd , "/helpers" , true ) == 0 )

{

    new counth = 0 ;

   

    SCM ( playerid , 0xCAFF70AA , "[____________Helpers online___________]" ) ;

   

    for ( new i = 0 ; i < MAX_PLAYERS ; i++ )

   

    {

   

    if ( IsPlayerConnected ( i ) )

   

    {

   

    if ( PlayerInfo [ i ] [ pHelper ] == 1 )

{

   

    GetPlayerName ( i , sendername , sizeof ( sendername ) ) ;

   

    format ( string , 256 , "Helper Level 1 : %s " , sendername ) ;

   

        SCM ( playerid , 0xCAFF70AA , string ) ;

       

        counth ++ ;

       

    }

   

                if ( PlayerInfo [ i ] [ pHelper ] == 2 )

               

    {

   

    GetPlayerName ( i , sendername , sizeof ( sendername ) ) ;

    format ( string , 256 , "Helper Level 2 : %s " , sendername ) ;

        SCM ( playerid , 0xCAFF70AA , string ) ;

        counth ++ ;

       

    }

   

                if ( PlayerInfo [ i ] [ pHelper ] == 3 )

               

    {

   

    GetPlayerName ( i , sendername , sizeof ( sendername ) ) ;

    format ( string , 256 , "Helper Level 3 : %s " , sendername ) ;

        SCM ( playerid , 0xCAFF70AA , string ) ;

        counth ++ ;

       

    }

   

    if ( PlayerInfo [ i ] [ pHelper ] == 4 )

   

    {

   

    GetPlayerName ( i , sendername , sizeof ( sendername ) ) ;

    format ( string , 256 , "Helper Level 4 : %s " , sendername ) ;

        SCM ( playerid , 0xCAFF70AA , string ) ;

        counth ++ ;

   

}

}

}

    if ( counth == 0 )

   

SCM ( playerid , COLOR_LIGHTRED , "No Helpers online on the server" ) ;

    SCM ( playerid , 0xCCD802AA , "[____________________________________]" ) ;

   

    return ( 1 ) ;

   

    }[/pawn]

3.Foloseste IsPlayerInRangeOfPoint.

4.Foloseste un Timer.

EDIT: Se pare ca AleX1321 a fost mai rapid. :))

Link to comment
Share on other sites

Deci sunt incepator rau de tot :)) , Nu am rezolvat nimic , a da si am 2 comenzi /helpers in gm, si mai era unde anume in gm tre sa bag timeru si unde anume in gm tre sa bag aia sa numai mearga /drink decat in bar

Dai si tu un vot aici http://concurs.ws/concurent-bRonx.html , nu dureaza decat 5 secunde .

Link to comment
Share on other sites

Se vede ca esti incepator rau de tot.Incerci sa editezi un mod de joc foarte avansat fara ca tu sa detii cunostintele necesare despre el.Mai citeste odata ce scrie pe paginile de web date de mine si ai sa vezi ca o sa pricepi.Daca nu pricepi, mai citeste inca odata, si inca odata, si inca odata si tot asa pana cand o sa pricepi.

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.