20.04.2009, 22:03
do something like this:
// at the top:
new gate1;
// gamemodeinit:
gate1 = CreateObject(971,631.5333,-595.8685,16.3359,0.000000,0.000000,269.105682); //SD3
// command:
if (strcmp( cmdtext, "/gate1open", true) == 0)
{
SendClientMessage(playerid, your color, "Gate 1 Opening!");
MoveObject(gate1, newx, newy, newz, speed);
return 1;
}
-Ethan
// at the top:
new gate1;
// gamemodeinit:
gate1 = CreateObject(971,631.5333,-595.8685,16.3359,0.000000,0.000000,269.105682); //SD3
// command:
if (strcmp( cmdtext, "/gate1open", true) == 0)
{
SendClientMessage(playerid, your color, "Gate 1 Opening!");
MoveObject(gate1, newx, newy, newz, speed);
return 1;
}
-Ethan