Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by ManGoe
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid) { new message[128], tickCountResult = GetTickCount(), reducedValue; if(!IsPlayerInAnyVehicle(playerid)) { for(new i; i < MAX_ROB_CHECKPOINT; i++) { if(checkpointid == checkpointIndex[i][0]) { reducedValue = tickCountResult - playerCPtime[playerid];
if(reducedValue > 3000) { playerCPtime[playerid] = GetTickCount();
SetPlayerPos(playerid, checkpointData[i][exitpointLoc][0], checkpointData[i][exitpointLoc][1], checkpointData[i][exitpointLoc][2]); SetPlayerInterior(playerid, checkpointData[i][interiorWorld]); SetPlayerVirtualWorld(playerid, checkpointData[i][virtualWorld]);
lastEnteredID[playerid] = i; } }
|
That isn't where the array is defined, and that is the issue...
Whats the line that this appears...
"error 017: undefined symbol "checkpointIndex"" Mean's it's not there, and that is what the issue is.