#include <a_samp>
new object;
public OnFilterScriptInit()
{
object = CreateObject(1240,0.0,0.0,3.0,0.0,0.0,0.0);
return 1;
}
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext,\"/nyit\",true))
{
MoveObject(object,10.0,1.0,3.0,2.0);
return 1;
}
return 0;
}
itt 1 példa akkor...