29.08.2009, 22:07
i used it like.
if (strcmp("/openpdgate", cmdtext, true, 10) == 0)
{
MoveObject(pdgate1, 1549.95, -1621.68, 6.15, 2.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Gate Now Opening");
return 1;
}
if(strcmp("/closepdgate", cmdtext, true, 10) == 0)
{
MoveObject(pdgate1,1549.95, -1621.68, 12.3, 2.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Gate Now Closing");
return 1;
}
I also added the slash new gate and all that, gates work i just dono how to make it so u can only do it within a specific area
if (strcmp("/openpdgate", cmdtext, true, 10) == 0)
{
MoveObject(pdgate1, 1549.95, -1621.68, 6.15, 2.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Gate Now Opening");
return 1;
}
if(strcmp("/closepdgate", cmdtext, true, 10) == 0)
{
MoveObject(pdgate1,1549.95, -1621.68, 12.3, 2.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Gate Now Closing");
return 1;
}
I also added the slash new gate and all that, gates work i just dono how to make it so u can only do it within a specific area

