06.02.2009, 15:21
Bruzer look , i put ,
new gates; (in the variebles part)
CreateObject(980, 1316.275757, -2725.842773, 15.349422, 0.0000, 0.0000, 326.2500); ( in the objects par )
and put
if(strcmp(cmdtext, "/opengate", true) == 0) {
MoveObject(980, 1316.275757, -275.842773, 15.324396, 2.00);
return 1;
}
if(strcmp(cmdtext, "/closegate", true) == 0) {
MoveObject(1316.275757, -2725.842773, 15.349422, 2.00);
return 1;
}
in OnPlayerCommandText , THE /opengate DON'T SAY UNKNOWN COMMAND , JUST THE GATE DON'T OPEN, AND THE /closegate SAY UNKNOWN COMMAND , WHAT'S WRONG WITH THE SCRIPT ?
new gates; (in the variebles part)
CreateObject(980, 1316.275757, -2725.842773, 15.349422, 0.0000, 0.0000, 326.2500); ( in the objects par )
and put
if(strcmp(cmdtext, "/opengate", true) == 0) {
MoveObject(980, 1316.275757, -275.842773, 15.324396, 2.00);
return 1;
}
if(strcmp(cmdtext, "/closegate", true) == 0) {
MoveObject(1316.275757, -2725.842773, 15.349422, 2.00);
return 1;
}
in OnPlayerCommandText , THE /opengate DON'T SAY UNKNOWN COMMAND , JUST THE GATE DON'T OPEN, AND THE /closegate SAY UNKNOWN COMMAND , WHAT'S WRONG WITH THE SCRIPT ?