warnings
#1

Код:
C:\Users\User\Desktop\Scripts\CKS.pwn(1465) : error 028: invalid subscript (not an array or too many subscripts): "entercp"
C:\Users\User\Desktop\Scripts\CKS.pwn(1465) : warning 215: expression has no effect
C:\Users\User\Desktop\Scripts\CKS.pwn(1465) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\Scripts\CKS.pwn(1465) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Scripts\CKS.pwn(1465) : fatal error 107: too many error messages on one line
pawn Код:
enum HouseInfo
{
    Float:entercp[3],
    Float:exitcp[3],
    Float:enterpos[3],
    Float:exitpos[3],
    Float:spawn[3],
    int,
    bool:howned,
    hteam[30],
    hteamid
}

new HOUSEINFO[][HouseInfo] =
{
    {{1298.6082,-799.6471,84.1406},{1298.9232,-796.0192,1084.0078},{1298.7500,-793.8243,1084.0078},{1299.1433,-801.4569,84.1406},{1301.9410,-787.5530,1084.0078},5},  // 1

};

//line GENTERCP[c] = CreateDynamicCP(HOUSEINFO[c][entercp[0]], HOUSEINFO[c][entercp[1]], HOUSEINFO[c][entercp[2]], 1);
help plz
Reply
#2

Wth are you doing with the tags
Reply
#3

Sorry, I didn't understand

about what tags are you talking ?
Reply
#4

PHP код:
GENTERCP[c] = CreateDynamicCP(HOUSEINFO[c][entercp][0], HOUSEINFO[c][entercp][1], HOUSEINFO[c][entercp][2], 1); 
Also, you should remove the comma at the end of the line:
PHP код:
new HOUSEINFO[][HouseInfo] = 
{
    {{
1298.6082,-799.6471,84.1406},{1298.9232,-796.0192,1084.0078},{1298.7500,-793.8243,1084.0078},{1299.1433,-801.4569,84.1406},{1301.9410,-787.5530,1084.0078},5}  // 1

}; 
Reply
#5

I already fixed that btw thanks for ur concern
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)