Case Help
#1

I'm getting this error error 040: duplicate "case" label (value 5)
on this code
PHP код:
    case RCP_TCAR:
        {
            if(
IsPlayerInAnyVehicle(playerid))
            {
                
SendClientMessage2(playeridCOLOR_YELLOW"You Found Your Car");
                
DisablePlayerRaceCheckpoint(playerid);
                
gPlayerRaceCheckpointStatus[playerid] = 0;
            }
        } 
why plz help thnx
Reply
#2

That means the value of RCP_TCAR is the same as the value of any of the other cases. Look for the RCP_TCAR definition and change its value there for one you're not using.
Reply
#3

done thank u
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)