#include <a_samp>
new xyz;
public OnGameModeInit()
{
xyz = CreateObject(19333, -959.48248, 3661.75122, 50.01505, 0.00000, 0.00000, -6.42000);
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/go"))
{
MoveObject(xyz, -942.4452, 4525.3149, 40.0666, 5.0);
return 1;
}
if(!strcmp(cmdtext, "/back"))
{
MoveObject(xyz, -959.48248, 3661.75122, 50.01505, 5.0);
return 1;
}
return 0;
}