SetPlayerRaceCheckpoint(playerid, 1, checkpointPos[0][0], checkpointPos[0][1], checkpointPos[0][2], checkpointPos[0][3], checkpointPos[0][4], checkpointPos[0][5], checkpointPos[0][6], checkpointPos[0][7]); playerLastCheckpoint[playerid] = 0;
muss das nicht so :
//SetPlayerRaceCheckpoint(playerid, type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size)
SetPlayerRaceCheckpoint(playerid, 1, checkpointPos[0][0], checkpointPos[0][1], checkpointPos[0][2], checkpointPos[1][0], checkpointPos[1][1], checkpointPos[1][2],10.0); playerLastCheckpoint[playerid] = 0;
Zitat
stock playerLastCheckpoint[MAX_PLAYERS], Float:checkpointPos[][8] ={
{2245.3386,502.2245,-0.2000},
{1308.2505,594.3304,-0.0030},
{-267.9847,367.7125,-0.0886},
{-1044.6901,-192.4386,-0.2874},
{-587.3887,-322.2031,0.0257},
{374.7885,-301.3208,-0.0530},
{2009.3774,-71.2355,-0.1116},
{2332.0012,536.8336,-0.0193}
};
Alles anzeigen
stock playerLastCheckpoint[MAX_PLAYERS], Float:checkpointPos[][3] ={
{2245.3386,502.2245,-0.2000},
{1308.2505,594.3304,-0.0030},
{-267.9847,367.7125,-0.0886},
{-1044.6901,-192.4386,-0.2874},
{-587.3887,-322.2031,0.0257},
{374.7885,-301.3208,-0.0530},
{2009.3774,-71.2355,-0.1116},
{2332.0012,536.8336,-0.0193}
};