#include <a_samp>
new kddomikapu;
public OnFilterScriptInit()
{
kddomikapu = CreateObject(988, -2241.5708007813, 643.15997314453, 48.446506500244, 0, 0, 95.279479980469);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, \"/close\", true) == 0)
{
MoveObject(kddomikapu, -2241.5708007813, 643.15997314453, 48.446506500244, 3);
return 1;
}
if(strcmp(cmdtext, \"/open\", true) == 0)
{
MoveObject(kddomikapu, -2241.8540039063, 649.49645996094, 48.766815185547, 3);
return 1;
}
return 0;
}