Bug Into The Timer
#1

pawn Код:
public OnGameModeInit()
{
    new string[MAX_PLAYER_NAME];
    new string1[MAX_PLAYER_NAME];
    for(new c=0;c<CAR_AMOUNT;c++)
    {
        Gas[c] = GasMax;
    }
    LoadCar();
    CreateFoodMenus();
    LoadProperty();
    LoadBizz();
    LoadSBizz();
    LoadBoxer();
    LoadStuff();
    LoadIRC();
    LoadFamilies();
    LoadCK();
    LoadTurfs();
    LoadPapers();
    LoadDrugSystem();
    LoadContoCasino();
    LoadMatsSystem();
    LoadHQLocks();
    LoadTrunk();
    IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
    IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
    IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
    IRCInfo[9][iPlayers] = 0;
    News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
    format(string, sizeof(string), "Nothing");
    strmid(News[hAdd1], string, 0, strlen(string), 255);
    strmid(News[hAdd2], string, 0, strlen(string), 255);
    strmid(News[hAdd3], string, 0, strlen(string), 255);
    strmid(News[hAdd4], string, 0, strlen(string), 255);
    strmid(News[hAdd5], string, 0, strlen(string), 255);
    format(string1, sizeof(string1), "No-one");
    strmid(News[hContact1], string1, 0, strlen(string1), 255);
    strmid(News[hContact2], string1, 0, strlen(string1), 255);
    strmid(News[hContact3], string1, 0, strlen(string1), 255);
    strmid(News[hContact4], string1, 0, strlen(string1), 255);
    strmid(News[hContact5], string1, 0, strlen(string1), 255);
    PlayerHaul[77][pCapasity] = 100;
    PlayerHaul[78][pCapasity] = 50;
    SetGameModeText("Miami City RP v0.1 - SAMP 0.3b");
    SendRconCommand("mapname San Fierro & Bay Side");
    SendRconCommand("weburl: http://miamicityrp.forumcommunity.it");
    format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later.");
    format(cbjstore, sizeof(cbjstore), "HQ: Non c'и nulla nelle sue vicinanze, fuori.");
    format(motd, sizeof(motd), "Benvenuto su Miami City Role Play.");
    gettime(ghour, gminute, gsecond);
    FixHour(ghour);
    ghour = shifthour;
    if(!realtime)
    {
        SetWorldTime(wtime);
    }
    SetPDistance(10);
    EnableTirePopping(1);
    EnableZoneNames(1);
    AllowInteriorWeapons(1);
    AllowAdminTeleport(0);
    UsePlayerPedAnims();
    //ShowPlayerMarkers(false);
    DisableInteriorEnterExits();
    EnableStuntBonusForAll(0);
i've a bug: all timers is off, this is the public OnGameModeInit maybe into that code are the bug, can u help me?
Reply


Messages In This Thread
Bug Into The Timer - by Mr.Obscure - 30.08.2010, 12:00
Re: Bug Into The Timer - by Calgon - 30.08.2010, 12:03
Re: Bug Into The Timer - by Mr.Obscure - 30.08.2010, 12:06
Re: Bug Into The Timer - by Mr.Obscure - 30.08.2010, 12:09
Re: Bug Into The Timer - by LarzI - 30.08.2010, 12:16
Re: Bug Into The Timer - by Mr.Obscure - 30.08.2010, 12:17
Re: Bug Into The Timer - by Mr.Obscure - 30.08.2010, 13:16
Re: Bug Into The Timer - by CyNiC - 30.08.2010, 13:37
Re: Bug Into The Timer - by Mr.Obscure - 02.09.2010, 18:56
Re: Bug Into The Timer - by LarzI - 02.09.2010, 18:59

Forum Jump:


Users browsing this thread: 3 Guest(s)