Jump to content

[DELETED]Eroare


ZLK
 Share

Recommended Posts

Cod: 

(99) : switch(apartmentsInfo[id][apLock]) {

 

 

Erorile: 

(99) error 028: invalid subscript (not an array or too many subscripts): "apartmentsInfo"
(99) : error 029: invalid expression, assumed zero
(99) : error 029: invalid expression, assumed zero
(99) : fatal error 107: too many error messages on one line

 

Tot codul: 

    switch(apartmentsInfo[id][apLock]) {
        case 0: {
            apartmentsInfo[id][apLock] = 1;
            SCM(playerid, -1, "Doors: {B30000}Locked");
        }
        case 1: {
            apartmentsInfo[id][apLock] = 0;
            SCM(playerid, -1, "Doors: {178C03}Unlocked");
        }       
    }

 

Multumesc pentru ajutor.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...