CMD:hajoindit(playerid,params[]){if(pInfo[playerid][pAdmin] >= 3){ MoveDynamicObject(hajo,2581.99390,2746.38403,11.17520,2.0)||MoveDynamicObject(hajo,2580.66650, -2745.28418, 12.22900,2.0) || MoveDynamicObject(hajo,2578.36694, -2760.68921, 11.33870,2.0);}return 1;}
CMD:hajoindit(playerid,params[]){if(pInfo[playerid][pAdmin] >= 3){ MoveDynamicObject(hajo, 2581.99390, -2746.38403, 11.17520,2.0); MoveDynamicObject(hajo, 2580.66650, -2745.28418, 12.22900,2.0); MoveDynamicObject(hajo, 2578.36694, -2760.68921, 11.33870,2.0);}return 1;}
CreateDynamicObject(10140, 2545.89697, -3611.99292, 9.87740, 0.00000, 0.00000, 260.00000);CreateDynamicObject(10231, 2548.20508, -3596.45996, 11.14147, 0.00000, 0.00000, 260.00000);CreateDynamicObject(10230, 2549.51758, -3597.57764, 9.72425, 0.00000, 0.00000, 260.00000);
2581.99390, -2746.38403, 11.17520,2.0);2580.66650, -2745.28418, 12.22900,2.0);2578.36694, -2760.68921, 11.33870,2.0);
new hajo[3];hajo[0] = CreateDynamicObject(10140, 2545.89697, -3611.99292, 9.87740, 0.00000, 0.00000, 260.00000);hajo[1] = CreateDynamicObject(10231, 2548.20508, -3596.45996, 11.14147, 0.00000, 0.00000, 260.00000);hajo[2] = CreateDynamicObject(10230, 2549.51758, -3597.57764, 9.72425, 0.00000, 0.00000, 260.00000);
CMD:hajoindit(playerid,params[]){ if(pInfo[playerid][pAdmin] >= 3) { MoveDynamicObject(hajo[0], 2581.99390, -2746.38403, 11.17520,2.0); MoveDynamicObject(hajo[1], 2580.66650, -2745.28418, 12.22900,2.0); MoveDynamicObject(hajo[2], 2578.36694, -2760.68921, 11.33870,2.0); } return 1;}
C:\\Documents and Settings\\david\\Asztal\\Teszt\\gamemodes\\Defensive(bizt).pwn(8313) : error 028: invalid subscript (not an array or too many subscripts): \"hajo\"C:\\Documents and Settings\\david\\Asztal\\Teszt\\gamemodes\\Defensive(bizt).pwn(8313) : warning 215: expression has no effectC:\\Documents and Settings\\david\\Asztal\\Teszt\\gamemodes\\Defensive(bizt).pwn(8313) : error 001: expected token: \";\", but found \"]\"C:\\Documents and Settings\\david\\Asztal\\Teszt\\gamemodes\\Defensive(bizt).pwn(8313) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\david\\Asztal\\Teszt\\gamemodes\\Defensive(bizt).pwn(8313) : fatal error 107: too many error messages on one line
MoveDynamicObject(hajo[0], 2581.99390, -2746.38403, 11.17520,2.0);
MoveDynamicObject(hajo[0], X, Y, Z, TIME (ami pl 1.0), RX, RY, RZ);
Rendben köszönöm kipróbálom reggel, remélem hogy jó lesz így! [/quote]Hát erre kíváncsi leszek :thumbsup: Szólj ha sikerült ::|
error 028: invalid subscript (not an array or too many subscripts): \"hajo\"warning 215: expression has no effecterror 001: expected token: \";\", but found \"]\"error 029: invalid expression, assumed zerofatal error 107: too many error messages on one line
MoveDynamicObject(hajo[0], 2581.99390, -2746.38403, 11.17520,2.0,0.0, 0.0, 0.0);
new hajo[3];