Jump to content

GorkemRO

Membru
  • Posts

    54
  • Joined

  • Last visited

    Never

Posts posted by GorkemRO

  1. Acuma imi apare eroarea asta wtf...

    fatal error 100: cannot read from file: "beaZone"

    Numi mai apare aia cu vehicle dar imi apare acuma asta...

    EDIT am rezolvat , chiar era din cauza serverelor pe care le aveam leam sters si acuma merge..

    Daca iti apar asa sterge niste servere care nu le folosesti sau stai sa adaugi pentru fiecare in parte.

    +1 ?:D

  2. Salut SA-MP.RO

    Am si eu o problema .. Deci sa incep:

    1) Am adaugat masini in pcars.cfg

    2) Intru pe server

    3) Ma urc intr-o masina pe care am adaugat-o si o pot conduce ... nu imi spune ca nu sunt X sau Y ....

    Uitati aici liniile pe care le-am adaugat.

    522,2647.920410,2901.093261,10.820300,90.000000,1,1,Dealership,NRG-500,520000
    522,2643.911865,2897.881835,10.820300,90.000000,1,1,Dealership,NRG-500,520000
    522,2640.643066,2891.967285,10.820300,90.000000,1,1,Dealership,NRG-500,520000

    CarInfo :

    [pawn]new CarInfo[247][cInfo];[/pawn]

    Multumesc Anticipat !

  3. Salut SA-MP.RO Am si eu o problema la comanda /report. Sper sa ma ajutati.

    Poftim comanda : [pawn]if(strcmp(cmd, "/report", true) == 0)

    {

        if(IsPlayerConnected(playerid))

        {

        if(PlayerInfo[playerid][pMuted] == 1)

    {

    SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");

    return 1;

    }

            GetPlayerName(playerid, sendername, sizeof(sendername));

    new length = strlen(cmdtext);

    while ((idx < length) && (cmdtext[idx] <= ' '))

    {

    idx++;

    }

    new offset = idx;

    new result[64];

    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))

    {

    result[idx - offset] = cmdtext[idx];

    idx++;

    }

    result[idx - offset] = EOS;

    if(!strlen(result))

    {

    SendClientMessage(playerid, COLOR_GRAD2, "CMD: /report [text]");

    return 1;

    }

    if(FindIP(result)) /// Anti-Reclama

      {

    SendClientMessage(playerid, COLOR_RED, "You have kicked for Guardian , because you write an IP Adrees.");

    new advertiser[MAX_PLAYER_NAME];

    GetPlayerName(playerid, advertiser, sizeof(advertiser));

    SendClientMessageToAll(COLOR_RED,string);

    KickLog(string);

    Kick(playerid);

    return 1;

    }

    if(anty(result) && PlayerInfo[playerid][pAdmin] == 0 && PlayerInfo[playerid][pHelper] == 0)

    {

              new advertiser[MAX_PLAYER_NAME];

    GetPlayerName(playerid, advertiser, sizeof(advertiser));

    format(string, sizeof(string), "[LegendCS]: {FFFF00}%s was kicked with reason: Reclama pe /report",advertiser);

    SendClientMessageToAll(COLOR_RED,string);

    new stringreclama[256];

    format(stringreclama, sizeof(stringreclama), "%s a scris: %s",advertiser, result);

    ABroadCast(COLOR_YELLOW, stringreclama, 1);

    return 0;

    }

    if(PlayerInfo[playerid][pAdmin] == 0 || PlayerInfo[playerid][pHelper] == 0)

        {

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

    {

        if(!Swear[0]) continue;

    Cenzura(result,Swear);

    }

    }

    format(string, sizeof(string), "* New report from %s [iD:%d] : %s", sendername, playerid, (result));

    ABroadCast(COLOR_1GREEN,string,1);

    SendClientMessage(playerid, COLOR_1BLUE, "* You report has been sent to the Admins.");

        }

        return 1;

    }[/pawn]

    Erori :

    C:\Users\x\Desktop\SERVER SAMP\gamemodes\TEST.pwn(42683) : error 029: invalid expression, assumed zero
    C:\Users\x\Desktop\SERVER SAMP\gamemodes\TEST.pwn(42683) : warning 215: expression has no effect
    C:\Users\x\Desktop\SERVER SAMP\gamemodes\TEST.pwn(42683) : warning 215: expression has no effect
    C:\Users\x\Desktop\SERVER SAMP\gamemodes\TEST.pwn(42683) : error 001: expected token: ";", but found ")"
    C:\Users\x\Desktop\SERVER SAMP\gamemodes\TEST.pwn(42683) : error 029: invalid expression, assumed zero
    C:\Users\x\Desktop\SERVER SAMP\gamemodes\TEST.pwn(42683) : 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.
    

    Linia 42683 : [pawn]ABroadCast(COLOR_1GREEN,string,1);[/pawn]

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