Original mit 25 Checkpoints,
#include <a_samp>
#define MAP_ICON_ID 25
new bmx1, bmx2, bmx3, bmx4, bmx5, bmx6;
new ParkourCP[MAX_PLAYERS];
new ParkourPickups[25];
new ParkourObjects[30];
new Float:ParkourCheckpoints[25][3] = {
{2373.8765,-1541.5344,23.9957}, // ParkourCP1
{2373.0486,-1552.8400,24.0017}, // ParkourCP2
{2384.4683,-1551.3596,27.9935}, // ParkourCP3
{2399.1670,-1555.5956,31.5000}, // ParkourCP4
{2453.5364,-1537.7587,32.5703}, // ParkourCP5
{2449.3672,-1519.6571,39.5156}, // ParkourCP6
{2438.5513,-1505.6760,35.7168}, // ParkourCP7
{2413.3809,-1461.7438,28.4979}, // ParkourCP8
{2378.7883,-1461.2406,30.4979}, // ParkourCP9
{2369.2756,-1427.0782,31.4979}, // ParkourCP10
{2390.0483,-1424.7968,34.8078}, // ParkourCP11
{2428.7058,-1425.8597,34.0322}, // ParkourCP12
{2525.3743,-1426.2411,52.6406}, // ParkourCP13
{2610.0210,-1426.4327,62.2486}, // ParkourCP14
{2636.8721,-1426.3130,64.2202}, // ParkourCP15
{2666.7104,-1426.4470,52.5178}, // ParkourCP16
{2705.0305,-1426.1185,54.8802}, // ParkourCP17
{2704.8784,-1385.9751,70.9922}, // ParkourCP18
{2704.8552,-1314.7786,72.9453}, // ParkourCP19
{2629.3811,-1274.8241,81.1481}, // ParkourCP20
{2530.4265,-1274.1678,52.2697}, // ParkourCP21
{2552.0576,-1344.4407,54.9633}, // ParkourCP22
{2548.2012,-1388.1635,44.3632}, // ParkourCP23
{2543.7932,-1418.7817,34.1670}, // ParkourCP24
{2540.7419,-1457.0958,31.4730} // ParkourCP25
};
public OnFilterScriptInit()
{
Meine Version, mit Errors
#include <a_samp>
#define MAP_ICON_ID 25
#pragma tabsize 0
new ParkourCP[MAX_PLAYERS];
new ParkourPickups[8];
new Float:ParkourCheckpoints[8][3] =
{
{1788.9440,-1365.6851,18.7907}, // ParkourCP1
{1779.0757,-1369.9668,21.0938}, // ParkourCP2
{1774.2600,-1376.3990,23.1406}, // ParkourCP3
{1777.4635,-1369.6279,26.7843}, // ParkourCP4
{1791.6094,-1365.8558,29.2344}, // ParkourCP5
{1804.1615,-1339.5222,29.9844}, // ParkourCP6
{1725.6520,-1316.0099,30.8984}, // ParkourCP7
{1725.6520,-1316.0099,30.8984}, // ParkourCP8
};
public OnFilterScriptInit()
ZitatC:\DOKUME~1\ADMINI~1\Desktop\Parkour1.pwn(16) : error 018: initialization data exceeds declared size
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.