18.12.2010, 18:56
Use next time, please.
Try that:
Try that:
pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if (strcmp("/open 1", cmdtext, true, 7) == 0)
{
MoveObject(1357.68286133,773.33685303,4,4);
return 1;
}
if (strcmp("/close 1", cmdtext, true, == 0)
{
MoveObject(1357.68286133,773.33685303,12.44526672, 4)
return 1;
}
if(strcmp("/open 2", cmdtext, true, 7) == 0)
{
MoveObject(1357.40942383,713.22784424,4,4);
return 1;
}
if(strcmp("/close 2", cmdtext, true, == 0)
{
MoveObject(1357.40942383,713.22784424,12.44526672, 4);
return 1;
}
return 0;
}