Object id?
[pawn]
new kapu;
public OnFilterScriptInit()
{
kapu = CreateObject(IDE ÍRD AZ OBJECT ID-T!!!!, 2889.6999511719, 2617.5, 13.39999961853, 0.0000, 0.0000, 180.0000);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, \"/nyit\", true) == 0)
{
MoveObject(kapu, 2894.1999511719, 2617.1999511719, 13.39999961853, 2.0);
return 1;
}
if(strcmp(cmdtext, \"/zár\", true) == 0)
{
MoveObject(kapu, 2889.6999511719, 2617.5, 13.39999961853, 2.0);
return 1;
}
return 0;
}
[/pawn]