A Error while creating store
#9

Quote:
Originally Posted by mahdi499
Посмотреть сообщение
Your problem is with the CheckPointIndex array, can you show us how you created/defined it?
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;
                            }
            }
Reply


Messages In This Thread
A Error while creating store - by ManGoe - 07.01.2015, 00:55
Re: A Error while creating store - by ManGoe - 07.01.2015, 08:29
Re: A Error while creating store - by mahdi499 - 07.01.2015, 11:43
Re: A Error while creating store - by Glossy42O - 07.01.2015, 11:57
Re: A Error while creating store - by Sew_Sumi - 07.01.2015, 12:01
Re: A Error while creating store - by Vince - 07.01.2015, 12:49
Re: A Error while creating store - by ManGoe - 10.01.2015, 02:38
Re: A Error while creating store - by Sew_Sumi - 10.01.2015, 03:15
Re: A Error while creating store - by ManGoe - 10.01.2015, 12:52
Re: A Error while creating store - by Sew_Sumi - 10.01.2015, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)