11.03.2012, 16:03
Hey guys,
I tried to make a moveable gate with these lines:
if (strcmp(cmd, "/opengate, true == 0) {
MoveObject(lvaenterg1, 96.699996948242, 1920.5999755859, 13.60000038147, 1);
//To move the gate
SendClientMessage(playerid, COLOR_BLUE, "The Entergate is opened.");
return 1;
}
if (strcmp(cmd, "/closegate, true == 0) {
MoveObject(lvaenterg1, 996.699996948242, 1920.5999755859, 17.700000762939, 1);
//To move the gate
SendClientMessage(playerid, COLOR_BLUE, "The Entergate is closed.");
return 1;
}
But after i added those lines and i tried to compile it, my pawno just crashes and it doesn't compile.
(I also get an .amx file with 0 bytes).
Can someone please help me out.
jw
I tried to make a moveable gate with these lines:
if (strcmp(cmd, "/opengate, true == 0) {
MoveObject(lvaenterg1, 96.699996948242, 1920.5999755859, 13.60000038147, 1);
//To move the gate
SendClientMessage(playerid, COLOR_BLUE, "The Entergate is opened.");
return 1;
}
if (strcmp(cmd, "/closegate, true == 0) {
MoveObject(lvaenterg1, 996.699996948242, 1920.5999755859, 17.700000762939, 1);
//To move the gate
SendClientMessage(playerid, COLOR_BLUE, "The Entergate is closed.");
return 1;
}
But after i added those lines and i tried to compile it, my pawno just crashes and it doesn't compile.
(I also get an .amx file with 0 bytes).
Can someone please help me out.
jw