Jump to content

PinDer

Membru
  • Posts

    69
  • Joined

  • Last visited

Posts posted by PinDer

  1. atunci ajutama tu daca stii cum

    Am inclus si amum primesc 5 errori la pawno

     

    la copilare

    Primesc Aceste Errori la copilare
     

    D:\Denis\aaa2\Íîâàÿ ïàïêà\Gamemode\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(42086) : error 017: undefined symbol "string"
    D:\Denis\aaa2\Íîâàÿ ïàïêà\Gamemode\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(42086) : error 017: undefined symbol "string"
    D:\Denis\aaa2\Íîâàÿ ïàïêà\Gamemode\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(42086) : warning 215: expression has no effect
    D:\Denis\aaa2\Íîâàÿ ïàïêà\Gamemode\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(42086) : error 001: expected token: ";", but found ")"
    D:\Denis\aaa2\Íîâàÿ ïàïêà\Gamemode\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(42086) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.
     

    Liniile de la 42079 pina la  42102

    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    ////////////////////Andti-sql project///////////////////////////
    {
    if(    strfind(inputtext, "%", true) != -1  ||
               strfind(inputtext, "'", true) != -1 ||
               strfind(inputtext, "`", true) != -1 ||
               strfind(inputtext, ";", true) != -1 )
          {
            format(string,sizeof(string),"* %s (%d) type inccorect character", PlayerName(playerid), playerid);
            SendClientMessage(playerid,COLOR_RED,"don't use this characters!");
            return 0;
         //am sters }  asta pentru ca mai jos era una...
         //////////////////Anti SQl Project//////////////////////////////////
        }
        new vehicleid = GetPlayerVehicleID(playerid);
        new sendername[25];
        new string[300];
        if(dialogid == 6267)
        {

  2. pai am scos codul tau care imi dadea eroare

    // OnDialogResponse
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    if(    strfind(inputtext, "%", true) != -1  ||
               strfind(inputtext, "'", true) != -1 ||
               strfind(inputtext, "`", true) != -1 ||
               strfind(inputtext, ";", true) != -1 )
          {
            format(string,sizeof(string),"* %s (%d) type inccorect character", PlayerName(playerid), playerid);
            SendClientMessage(playerid,COLOR_RED,"don't use this characters!");
            return 0;
        }
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        new sendername[25];
        new string[300];
        if(dialogid == 6267)
        {
            if(response)
            {
                switch(listitem)
                {
                    case 0:

  3. // OnDialogResponse
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        new sendername[25];
        new string[300];
        if(dialogid == 6267)
        {
            if(response)
            {
                switch(listitem)
                {
                    case 0:
                    {
                        PlayerInfo[playerid][pColor] = 0;
                        SCM(playerid, COLOR_WHITE,"{CECECE}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 1:
                    {
                        PlayerInfo[playerid][pColor] = 1;
                        SCM(playerid, COLOR_WHITE,"{4169E1}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 2:
                    {
                        PlayerInfo[playerid][pColor] = 2;
                        SCM(playerid, COLOR_WHITE,"{662BBE}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 3:
                    {
                        PlayerInfo[playerid][pColor] = 3;
                        SCM(playerid, COLOR_WHITE,"{FFE600}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 4:
                    {
                        PlayerInfo[playerid][pColor] = 4;
                        SCM(playerid, COLOR_WHITE,"{FF00FF}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 5:
                    {
                        PlayerInfo[playerid][pColor] = 5;
                        SCM(playerid, COLOR_WHITE,"{3FFF3F}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 6:
                    {
                        PlayerInfo[playerid][pColor] = 6;
                        SCM(playerid, COLOR_WHITE,"{83D553}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 7:
                    {
                        PlayerInfo[playerid][pColor] = 7;
                        SCM(playerid, COLOR_WHITE,"{187700}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 8:
                    {
                        PlayerInfo[playerid][pColor] = 8;
                        SCM(playerid, COLOR_WHITE,"{FF9A00}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 9:
                    {
                        PlayerInfo[playerid][pColor] = 9;
                        SCM(playerid, COLOR_WHITE,"{222222}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                    case 10:
                    {
                        PlayerInfo[playerid][pColor] = 10;
                        SCM(playerid, COLOR_WHITE,"{FF2C9D}Server:{FFFFFF} Nick color changed! Hope you like the new color!");
                    }
                }
            }
        }
        if(dialogid == DIALOG_VEHSPAWN)

  4. 2 hours ago, WARfree said:

    sa adaugi comanda pe tasta Y este foarte simplu, urmeaza exemplul meu:

    1. In primu rannd te duci la OnPlayerKeyStateChange.

    2. In al doilea rand adaugi

    if(newkeys == KEY_YES) // verifica daca este apasata tasta Y (in acest caz)

    {

     // aici adaugi ce ai tu la comanda /friends

    }

    daca nu te descurci , lasa-mi mesaj sa til fac eu in pastebin , doar sa lasi aici un link pastebin cu comanda respectiva

    Daca te-am ajuatat , +1 , nu strica

    Cu respect, WARfree

    Nu mam descurcar,ajutama te rog

  5. Descrierea problemei:Salut,vreau si eu sa imi adaug pe serverul meu ca in loc sa tastez comanda /friends sa tastez tasta Y si sa imi afiseze lista playerilor..defapt sa fie ambele comenzi..sa fie la alegere cine doreste tasteaza /friends cine nu tasteaza Y
    Liniile de cod / sursa / script-ul(obligatoriu): http://imgur.com/a/vcdhG
    Imagini / Video (optional): http://imgur.com/a/vcdhG
    Alte detalii:Va Rog Ajutatima!!!

  6. 20 hours ago, Mister said:

    La public OnDialogResponse adauga asta

    
    if(    strfind(inputtext, "%", true) != -1  ||
               strfind(inputtext, "'", true) != -1 ||
               strfind(inputtext, "`", true) != -1 ||
               strfind(inputtext, ";", true) != -1 )
      	{
    		format(string,sizeof(string),"* %s (%d) type inccorect character", PlayerName(playerid), playerid);
    	    SendClientMessage(playerid,COLOR_RED,"don't use this characters!");
            return 0;
    	}

    Iar la restart arata comanda, publicul sau unde ar trebuie sa dea restart

    Cind adaug asta care mi-ai trimi si dau sa copilez nu se copileaza imi ca Pawn-ul nu cunctioneaza si ramine decit sa-l inchid 

    Nu am inteles care comanda sa arat publicul

  7. Descrierea problemei:Salut,deci am 2 probleme 1.Cind dau /restartserver imi apare numeratoarea inversa inta cind ajunge la 0 secunde nu se restarteaza serverul si uneori cind se da singur /restartserver poate sa nu se restarteze sa scrie in chat "server restarted ":server restarted" si sta asa pina dau restart de pe website de unde am cumparat Host-ul si a 2.problema este chestia aiai la cind vrei sa schimbi parola dai /changepass si daca dai %s floopzi serverul cum pot sasa fac ca sa nu se permita ast fel de caractere ca sa evit flood-area serverului ?
    Liniile de cod / sursa / script-ul(obligatoriu):http://imgur.com/a/FnRRF
    Imagini / Video (optional): http://imgur.com/a/FnRRF
    Alte detalii:Va Rog Ajutatima!!!

  8. Descrierea problemei:.Salut am si eu o problema..deci ce sa intimpat am urcat pe Host un GM mai exact BigZone editat de mine...dupa ce am postat am intrat si am opservat ca intra pe server insa cind dau sa ma loghez setez parola si cind ma pune sa o dau din nou imi zice ca parola gresita...chiar nu inteleg ce e problema
    Liniile de cod / sursa / script-ul(obligatoriu): http://imgur.com/a/IOFJ8
    Imagini / Video (optional): http://imgur.com/a/IOFJ8
    Alte detalii:Va Rog Ajutatima!!!

  9. Descrierea problemei:Deci ca sa va povestesc un pic...Am un si eu un Gamemode la care am lucrat la el si cind am ajuns la etapa sa-l bag pe Host imi da o anumita eroare si nu inteleg ce trebuie sa fac...Am incercat in numeroase moduri dar nimic
    Liniile de cod / sursa / script-ul(obligatoriu): http://imgur.com/a/Pk17G
    Imagini / Video (optional):http://imgur.com/a/Pk17G
    Alte detalii:Imi cer scuze pentru Limba Rusa ...Sper sa ma ajutati

×
×
  • 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.