SetPlayerRaceCheckpoint " Why isnt this wokring? "
#4

That odd, I get no errors when compiling that script (with my edit)
pawn Код:
#include <a_samp>

new CircuitCheckpointCount;
new Float:CircuitCheckpointID[3][3] =
{
    { 3447.9087,-2271.5059,11.7217 }, // Check1 StartLINE!
    { 3384.7925,-2524.4934,11.7510 },// Check2
    { 3364.3394,-2460.7122,11.7234 } // Check3
};

public OnPlayerSpawn( playerid )
{
    SetPlayerRaceCheckpoint(playerid,0,CircuitCheckpointID[CircuitCheckpointCount][0],CircuitCheckpointID[CircuitCheckpointCount][1],CircuitCheckpointID[CircuitCheckpointCount][2],CircuitCheckpointID[CircuitCheckpointCount+1][0],CircuitCheckpointID[CircuitCheckpointCount+1][1],CircuitCheckpointID[CircuitCheckpointCount+1][2],20);
    return 1;
}
Please make sure you copied it correctly. And is it that line, still?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)