28.03.2010, 13:28
[quote]public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Opengate", cmdtext, true, 10) == 0)
{
MoveObject(968, 1544.70703125, -1630.7634277344, 13.095315933228, 0, 359.49487304688, 269.87365722656);
// change positions where u want to move gates
return 1;
}
if(strcmp("/Closegate", true) == 0) //
{
MoveObject(968, 1544.7027587891, -1630.9697265625, 13.145315170288, 0, 269.17498779297, 269.87536621094);
//
return 1;
}
Try that! post any error's. Alt look / post in my topic
{
if (strcmp("/Opengate", cmdtext, true, 10) == 0)
{
MoveObject(968, 1544.70703125, -1630.7634277344, 13.095315933228, 0, 359.49487304688, 269.87365722656);
// change positions where u want to move gates
return 1;
}
if(strcmp("/Closegate", true) == 0) //
{
MoveObject(968, 1544.7027587891, -1630.9697265625, 13.145315170288, 0, 269.17498779297, 269.87536621094);
//
return 1;
}
Try that! post any error's. Alt look / post in my topic