array index out of bounds???
#3

pawn Код:
StartDriverMissionForPlayer(playerid,level)
{
    new string[1000];
    new rand = random(sizeof Mission1);
    new rand2 = random(sizeof Mission2);
    new rand3 = random(sizeof Mission3);
    new Float:mx, Float:my, Float:mz;
    // default messages for all different types
    SendClientMessage(playerid, COLOR_SEXYGREEN, " ");
    SendClientMessage(playerid, COLOR_SEXYGREEN, " ");
    SendClientMessage(playerid, COLOR_SEXYGREEN, "|==========================================================|");

    if(gTeam[playerid] == TEAM_DRIVERS && level == 1)
    {
        if(Mission1[rand][mission_type] == 1)
        {
            // messages
            format(string, sizeof string, "Mission: {FF6347}%s", Mission1[rand][mission_nickname]);//more code, that u saw earlier
Reply


Messages In This Thread
array index out of bounds??? - by knackworst - 02.10.2011, 10:02
Re: array index out of bounds??? - by Vince - 02.10.2011, 10:09
Re: array index out of bounds??? - by knackworst - 02.10.2011, 10:12

Forum Jump:


Users browsing this thread: 1 Guest(s)