Jump to content

mura

Membru
  • Posts

    79
  • Joined

  • Last visited

    Never

Posts posted by mura

  1. Am incercat sa pun cu SetTimer o camera:

    Sus in gm am pus forward cam(playerid);

    Dupaia la OnGameModeInit()  am pus    SetTimer("cam", 10000, false);

    si dupaia asta

    public cam(playerid)

    {

    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);

    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

    return 1;

    }

    Nu functioneaza

    De ce?...Dupa ce spawneaza player-ul vreau sa-i apara camera aceea timp de 10 secunde dupa aceea sa revina la pozitia anterioara

  2. D:\Jocuri\Rockstar Games\GTA San Andreas\Server\gamemodes\RP.pwn(255) : error 017: undefined symbol "menu1"

    D:\Jocuri\Rockstar Games\GTA San Andreas\Server\gamemodes\RP.pwn(287) : warning 217: loose indentation

    D:\Jocuri\Rockstar Games\GTA San Andreas\Server\gamemodes\RP.pwn(290) : error 029: invalid expression, assumed zero

    D:\Jocuri\Rockstar Games\GTA San Andreas\Server\gamemodes\RP.pwn(290) : error 004: function "OnPlayerClickPlayer" is not implemented

    D:\Jocuri\Rockstar Games\GTA San Andreas\Server\gamemodes\RP.pwn(294) : error 030: compound statement not closed at the end of file (started at line 255)

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    4 Errors.

  3. am facut exact asa si

    D:\Jocuri\Rockstar Games\GTA San Andreas\Server\gamemodes\RP.pwn(283) : warning 217: loose indentation

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    1 Warning.

    si daca pun aia cu pragma doar dispare problema..pentru ca, cand intru in checkpoint apare meniul dar cand da click nu se int nik

  4. pai aia am pus pt dialog..Eu am pus un checkpoint si cand intra in checkpoint sa-i apara dialog-ul ala.Cand intri in checkpoint apare meniul cu alea dar cand dai click nu se int nik..eroarea doar dispare no si rezolva

  5. am vrut sa pun la

    public OnPlayerEnterCheckpoint(playerid)

    {

    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "What is it that you want?", "Sprunk ($1)\nBeer ($2)\nWine ($3)", "Purchase", "Cancel");

    DisablePlayerCheckpoint(playerid);

    return 1;

    } asta.Nu mere cand intra in chekpoint apare dialogul dar cand dau click nu se int nik

  6. Deci imi da o eroare la compilare.

    D:\Jocuri\Rockstar Games\GTA San Andreas\Server\gamemodes\RP.pwn(283) : warning 217: loose indentation

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    1 Warning.

    Am pus asa:

    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "What is it that you want?", "Sprunk ($1)\nBeer ($2)\nWine ($3)", "Purchase", "Cancel");

    si

    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])

    {

    if(response)// They pressed the first button.

        {

        switch(dialogid)// If you only have one dialog, then this isn't required, but it's neater for when you implement more dialogs.

            {

    case 1:// Our dialog!

            {

              switch(listitem)// Checking which listitem was selected

            {

                case 0:// The first item listed

                {

                    if(GetPlayerMoney(playerid) < 1) return SendClientMessage(playerid, 0xFFFFFF, "You don't have enough cash.");

                    GivePlayerMoney(playerid, -1);

                    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);

                }

                case 1: // The second item listed

                {

                    if(GetPlayerMoney(playerid) < 2) return SendClientMessage(playerid, 0xFFFFFF, "You don't have enough cash.");

                    GivePlayerMoney(playerid, -2);

                    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);

                }

                case 2: // The third item listed

                {

                    if(GetPlayerMoney(playerid) < 3) return SendClientMessage(playerid, 0xFFFFFF, "You don't have enough cash.");

                    GivePlayerMoney(playerid, -3);

                    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_WINE);

                }

            }

            }

    }

        }

    return 1;

    }

  7. Am observat ca nu-mi mere npc-ul daca incerc sa-l pun intr'un vehicul...mere doar pe ruta fara vehicul.Am testat pe un GM normal si mere dar cand pun pe gamemode-ul meu apare ca sta pe loc.Care ar fi problema?

  8. Deci am pus comanda la public OnPlayerSpawn(playerid) SetPlayerSkin, si oricine intra pe server are skin-ul respectiv.Cum sa fac ca npc's sa aibe alt skin? Am pus la fiecare npc setplayerskin dar nu mere le da tot skin-ul ales de mine la onplayerspawn :-s

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