Jump to content

RaulSTAR

Membru
  • Posts

    76
  • Joined

  • Last visited

    Never

Posts posted by RaulSTAR

  1. Buna , deci pt. ce ai cerut tu faci asa

    "if(PlayerInfo[playerid][pReg] == 0)"

    Pui PlayerInfo[playerid][pLevel] = 1;

    PlayerInfo[playerid][pDonateRank] = 0;

    Daca nu gasesti cauta dupa PlayerInfo[playerid][pLevel] = 3; daca acela este lvl. de inceput

  2. Deci , daca vrei atunci cand este spawnat , pune dupa Public OnPlayerSpawn

    PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);  1057 fiind ID de la sunet (din joc)

    Daca vrei sa ii porneasca gen o melodie cand se spawneaza trebuie sa ai un link cu o melodie fixa gen  link.com/music.mp3 deci sa se termina in format. Iti dau un ex de site cum ar trebui sa arate AICI

    Si trebuie sa pui sub OnplayerSpawn asa : PlayAudioStreamForPlayer(playerid, "link.mp3");

  3. /gmx sau inchiderea directa ii tot cam aceeasi chestie.

    Iti dau comanda /gmx de la mine din GM poate ai noroc sa mearga dar nu prea vad ceva schimbat

    [pawn]//----------------------------------[GMX]-----------------------------------------------

    if(strcmp(cmd, "/gmx", true) == 0)

    {

        if(IsPlayerConnected(playerid))

        {

    if (PlayerInfo[playerid][pAdmin] >= 1338)

    {

    GameModeExit();

    }

    else

    {

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

    }

    }

    return 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.