Jump to content

Dekker

Membru
  • Posts

    123
  • Joined

  • Last visited

    Never

Posts posted by Dekker

  1. Cum pot face ca la comanda /rac , masinile care sunt tunate si apoi respawnate , sa le ramana tunningul dupa respawn.

    [pawn]if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0) //

        {

            if(IsPlayerConnected(playerid))

            {

                if(PlayerInfo[playerid][pAdmin] <= 1)

                {

                    SendClientMessage(playerid, COLOR_GRAD1, "DENIED: You are not authorized to use that command!");

                    return 1;

                }

                new unwanted[MAX_VEHICLES];

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

        {

            if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=1; }

        }

                for(new c=0;c<catevehicule ai pe sv+1;c++)

                {

                    if(unwanted[c] != 1)

                    {

    SetVehicleToRespawn©;

    }

                }

                for(new c=catevehicule ai pe sv+1;c<MAX_VEHICLES;c++)

                {

                    if(unwanted[c] != 1)

                    {

    SetVehiclePos(c, CarInfo[c][Locationx], CarInfo[c][Locationy], CarInfo[c][Locationz]);

    }

                }

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

    format(string, sizeof(string), "* All unsed cars has been respawned by admin : %s", sendername);

    SendClientMessageToAll(COLOR_RED, string);

            }

            return 1;

        }[/pawn]

  2. Comanda /v color nu imi merge pe server. Adica scriu /v color 6 1 de exemplu si imi arata /v color [ColorOne] [ColorTwo] , masinei nu i se intampla nimic , ma puteti ajuta ?

    [pawn]else if(strcmp(x_nr,"color",true) == 0)

            {

                if(PlayerInfo[playerid][pPcarkey] == 999 && PlayerInfo[playerid][pPcarkey2] == 999 && PlayerInfo[playerid][pPcarkey3] == 999)

            {

                SendClientMessage(playerid, COLOR_GREY,"  You don't have a vehicle to respray.");

                return 1;

            }

            if(GetPlayerMoney(playerid) < 1000)

            {

                SendClientMessage(playerid, COLOR_GREY,"  You don't have enough money for vehicle respray.");

                return 1;

            }

            tmp = strtok(cmdtext, idx);

            if(!strlen(tmp))

    {

    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /v color [ColorOneID] [ColorTwoID]");

    return 1;

    }

    new color1;

    color1 = strval(tmp);

    if(color1 < 0 && color1 > 126)

    {

        SendClientMessage(playerid, COLOR_GREY, "  Wrong color id!");

        return 1;

    }

    tmp = strtok(cmdtext, idx);

            if(!strlen(tmp))

    {

    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /v color [ColorOneID] [ColorTwoID]");

    return 1;

    }

    new color2;

    color2 = strval(tmp);

    if(color2 < 0 && color2 > 126)

    {

        SendClientMessage(playerid, COLOR_GREY, "  Wrong color id!");

        return 1;

    }

    new vehid;

    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { vehid = PlayerInfo[playerid][pPcarkey]; }

    else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { vehid = PlayerInfo[playerid][pPcarkey2]; }

    else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey3]) { vehid = PlayerInfo[playerid][pPcarkey3]; }

    else { return 1; }

            if(IsPlayerInVehicle(playerid, vehid))

            {

            CarInfo[vehid][cColorOne] = color1;

                    CarInfo[vehid][cColorTwo] = color2;

                    GivePlayerMoney(playerid, -1000);

                    GameTextForPlayer(playerid, "~w~Bill for a Paint Respray~n~~r~-$1000", 5000, 1);

                    ChangeVehicleColor(vehid, color1, color2);

                    OnPropUpdate();

    OnPlayerUpdate(playerid);

    return 1;

        }

            else

            {

                SendClientMessage(playerid, COLOR_GREY,"  You are not in your vehicle.");

                return 1;

            }

            }[/pawn]

  3. C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(120) : error 017: undefined symbol "CreatePlayerTextDraw"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(120) : warning 213: tag mismatch
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(121) : error 017: undefined symbol "PlayerTextDrawUseBox"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(122) : error 017: undefined symbol "PlayerTextDrawLetterSize"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(123) : error 017: undefined symbol "PlayerTextDrawFont"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(124) : error 017: undefined symbol "PlayerTextDrawSetShadow"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(125) : error 017: undefined symbol "PlayerTextDrawSetOutline"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(126) : error 017: undefined symbol "PlayerTextDrawColor"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(127) : error 017: undefined symbol "PlayerTextDrawShow"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(117) : warning 203: symbol is never used: "Ypos"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(117) : warning 203: symbol is never used: "Xpos"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(117) : warning 203: symbol is never used: "playerid"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(137) : error 017: undefined symbol "CreatePlayerTextDraw"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(137) : warning 213: tag mismatch
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(138) : error 017: undefined symbol "PlayerTextDrawUseBox"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(139) : error 017: undefined symbol "PlayerTextDrawBoxColor"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(140) : error 017: undefined symbol "PlayerTextDrawBackgroundColor"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(141) : error 017: undefined symbol "PlayerTextDrawLetterSize"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(142) : error 017: undefined symbol "PlayerTextDrawFont"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(143) : error 017: undefined symbol "PlayerTextDrawSetShadow"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(144) : error 017: undefined symbol "PlayerTextDrawSetOutline"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(145) : error 017: undefined symbol "PlayerTextDrawColor"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(146) : error 017: undefined symbol "PlayerTextDrawSetSelectable"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(147) : error 017: undefined symbol "PlayerTextDrawAlignment"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(148) : error 017: undefined symbol "PlayerTextDrawTextSize"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(149) : error 017: undefined symbol "PlayerTextDrawShow"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(134) : warning 203: symbol is never used: "Height"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(134) : warning 203: symbol is never used: "Width"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(134) : warning 203: symbol is never used: "Ypos"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(134) : warning 203: symbol is never used: "Xpos"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(134) : warning 203: symbol is never used: "playerid"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(158) : error 017: undefined symbol "CreatePlayerTextDraw"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(158) : warning 213: tag mismatch
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(159) : error 017: undefined symbol "PlayerTextDrawUseBox"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(160) : error 017: undefined symbol "PlayerTextDrawLetterSize"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(161) : error 017: undefined symbol "PlayerTextDrawFont"
    C:\Documents and Settings\Cipanu\Desktop\Skilled Gaming\pawno\include\mSelection.inc(162) : error 017: undefined symbol "PlayerTextDrawSetShadow"

    De ce primesc aceste erori ?

  4. Imi dai un raspuns , iti zic ca nu merge si nu mai stii. Tot eu rezolv , astept un raspuns pentru culoare la masina de 4-5 zile. In fine , alte comentarii inutile mai ai ?

    Rock:

    Felicitari pentru warn, tocmai ati reusit sa incalcati regulamentul.

    Ti-am zis gata cu off-ul, nu trebuia sa mai continui.

    Si in legatura cu problema ta, poate nu am avut timp, poate nu am stiut sau poate nu am vrut sa te ajut.

  5. Am creat primul meu fs , nu cred ca se poate numi fs. Este vorba despre un lift la PD.

    Download :

    [download]http://www.solidfiles.com/d/f473da5b9a/[/download] - amx

    [download]http://www.solidfiles.com/d/44ba5d48da/[/download] - pwn

    GBy6ygt.png

    [img width=500 height=375] Hl9hzJY.png

    [img width=500 height=375] IsjtLIY.png

    [img width=500 height=375] DOSyl29.png

    [img width=500 height=375] rzfPyaI.png

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