Jump to content
  • 0

Cum setez timpul de wanted?


Question

Posted

Salut!Vreau sa setez timpul de wanted da nush la ce sa umblu exact!Timpul de wanted as vrea sa fie de 10 min!

if(WantedLevel[playerid] >= 1) { if(gTeam[playerid] == 3) { gTeam[playerid] = 4; } }

SetTimerEx( "dLevel", (600*1000), true, "d", playerid );

3 answers to this question

Recommended Posts

Posted

Nu mai exact eu vreau sa stea mai mult wanted

Cum ar fi ex:la Wnated 7 ca sa scad la Wanted 6 sa dureze 10 minute timpul pana iti scade wantedul(daca nu esti prins)

Posted

[pawn]

//OnGameModeInit()

SetTimer("dLevelEx", 600000, 1); //10 minute

//la sfarsit de gm

forward dLevelEx();

public dLevelEx()

{

    new whd;

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

    {

        if(IsPlayerConnected(i))

        {

            whd = WantedLevel;

            if (whd>0)

            {

                whd--;

                SetPlayerWantedLevel(i,whd);

                WantedLevel = whd;

            }

        }

    }

}

[/pawn]

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Guest
This topic is now closed to further replies.
×
×
  • 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.