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

 Share

  • Recently Browsing   0 members

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