Incoginot's Streamer: Checkpoint problem.
#1

Well, the problem is, it stops creating checkpoint after mapid 2. I don't know why, or how or whatever. It does print the stuff though.

pawn Код:
stock AddStuffs(mapid)
{       foreach(Player, i)
        {
            if(Player[i] == 2)
            {
                if(mapid == 1)
                {
                    Stuff = 0;
                    CreateDynamicCP(2036.23876953, -1401.31982422, 16.50525665, 2, -1, 0, i, 20.0); // 1
                    CreateDynamicCP(2038.38427734, -1441.60119629, 16.58289528, 2, -1, 0, i, 20.0); // 2
                    CreateDynamicCP(2004.09033203, -1403.68115234, 16.92096710, 2, -1, 0, i, 20.0); // 3
                    CreateDynamicCP(2041.69128418, -1444.96923828, 17.39428520, 2, -1, 0, i, 20.0); // 4
                    TotalStuffs = 0;
                    TextDrawSetString(Scoredraw3, "0/4");
                }
                if(mapid == 2)
                {
                    print("stuff");
                    Stuff = 1;
                    CreateDynamicCP(2194.73144531, -1186.12207031, 1029.50537109, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(2224.72265625, -1186.87866211, 1029.34741211, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(2243.02563477, -1182.93750000, 1029.63537598, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(2243.00073242, -1158.88732910, 1029.62133789, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(2247.34521484, -1179.43750000, 1031.70507812, 2, -1, 15, i, 20.0);
                    TotalStuffs = 0;
                    TextDrawSetString(Scoredraw3, "0/5");
                }
                if(mapid == 3)
                {
                    Stuff = 2;
                    CreateDynamicCP(1433.42932129,1336.17285156,18.58245468, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1425.66821289,1356.47863770,10.67418194, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1434.51477051,1387.26794434,10.49946976, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1447.49255371,1356.36291504,10.20670509, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1448.68408203,1335.40942383,10.89476299, 2, -1, 15, i, 20.0);
                    print("Stuff 3 added 1"); // It does show this print.
                    TotaStuffs = 0;
                    TextDrawSetString(Scoredraw3, "0/5");
                }
                if(mapid == 4)
                {
                    Stuff = 3;
                    CreateDynamicCP(1509.77258301,-1771.37060547,33.04747772, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1462.11499023,-1761.04907227,33.90435028, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1502.78991699,-1750.15075684,13.22557545, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1496.21875000,-1726.97875977,13.16041279, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1505.19372559,-1626.78710938,14.19497585, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1514.91479492,-1689.33728027,13.63986969, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1555.45202637,-1677.01794434,15.51242065, 2, -1, 15, i, 20.0);
                    TotalStuffs = 0;
                    TextDrawSetString(Scoredraw3, "0/7");
                }
                if(mapid == 5)
                {
                    Stuff = 4;
                    CreateDynamicCP(-1124.53784180,1063.93615723,1345.14208984, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(-1091.60559082,1045.46508789,1343.77551270, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(-1027.05249023,1073.28942871,1343.44860840, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(-1009.89672852,1078.16943359,1340.62597656, 2, -1, 15, i, 20.0);
                    TotalStuffs = 0;
                    TextDrawSetString(Scoredraw3, "0/4");
                }
                if(mapid == 6)
                {
                    Stuff = 5;
                    CreateDynamicCP(1947.80029297,1042.43286133,992.24774170, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1951.95117188,1023.29797363,991.78582764, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1948.35327148,983.89416504,992.06921387, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1978.96838379,1007.21557617,994.32574463, 2, -1, 15, i, 20.0);
                    CreateDynamicCP(1978.96838379,1028.36047363,994.37390137, 2, -1, 15, i, 20.0);
                    TotalStuffs = 0;
                    TextDrawSetString(Scoredraw3, "0/5");
                }
            }
        }
return 1;
}
I don't see a problem why it won't do what it has to do. I hope you cna help me.
Reply
#2

I guess it's cause you cannot create more than one CheckPoint at a time.. with normal CPs it's not possible, I guess it's the same with Incognito's Streamer
Reply
#3

No, it's called a "streamer" for a reason. If you're near a CP, it will show the CP. That's how it works.
Reply
#4

After 48 hours, I think I'm allowed to bump.
oh sorry, it's 43 hours, is that bad?
Reply
#5

Quote:
Originally Posted by Theme name
Incoginot's Streamer: Checkpoint problem.
Fix you theme name
Reply
#6

Aha..?

Anyway, it's solved. I noticed all the checkpoints are located in interior 15.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)